Giving abilities in-game

Status
Not open for further replies.

brewster1

B

brewster1

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.
 
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.
Back
Top