Ability Just Dissapears

Status
Not open for further replies.
Level 5
Joined
Dec 1, 2007
Messages
121
I made an ability (Based of Lightning Orb ability) as a hero ability.

The problem is, it just dispersal when I cast metamorphosis.

I tried bringing it back via triggers (Enable/Disable, Add ability back) but nothing.

Any ideas? Any fixes? Any suggestions?
 
Use this Custom script to make the ability permanent on the hero (even metamorph, etc)

  • Custom script: call UnitMakeAbilityPermanent(udg_Caster, true, 'A000')
Where,

udg_Caster = Your global variable, named 'Caster'
true = It's a boolean setting, to set whether you want to make that ability permanent (in this case, yes, we want to make it permanent, yes = true)
'A000' = Your Ability Raw ID Code (you can check it by press CTRL + D on the Object Editor, Abilities Tab)
 
Last edited:
Status
Not open for further replies.
Back
Top