• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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