• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Giving abilities in-game

Status
Not open for further replies.
Level 1
Joined
May 5, 2010
Messages
1
I was wondering if there was any script or functions that could add abilities in-game, so that you would get "holy light"(for example) and you could go to the red cross sign and learn level 1 of holy light. So far ive only been able to add it as a lvl 1 spell and the red cross doesnt appear.

Any help would be awesome.
 
Level 12
Joined
Apr 15, 2008
Messages
1,063
It is actually possible. You need to create 4 dummy hero abilities, which you give to the hero. Then you can use the "engineering upgrade" ability to replace the dummy ability with a custom one. So basically you create a standart "holy light" ability, and 4 engineering upgrades, which replace abilities 1-4 with your holy light. Then, when the unit learns holy light, add the engineering upgrade that belongs to the first unused slot. (engineering upgrade can have it's icon disabled)
 
Status
Not open for further replies.
Top