• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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 13
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