• 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.

[Trigger] Removing then adding ability GUI

Status
Not open for further replies.
Level 1
Joined
Jun 21, 2009
Messages
282
:grin: Needing help with a trigger, im basically needing a trigger that when you cast metamorphisis it'll remove a ability and replace it with another ability, then after metamorphisis is over, relearn the regular ability that you lost with the skill points already in and remove the metamorphisis ability you got from it. 2 Pictures to show. Please and Thank you!! :grin: http://img197.imageshack.us/gal.php?g=trigger.png
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Make your metamorphosis so that is does nothing.

Then detect with a trigger when your hero finishes casting the ability. Hide the hero, and instantly move and unhide your metamorphed hero unit to the same place where your original hero was. Store the different skill levels into a variable.

So basically create two heroes, one normal and the other one is the metamorphed.

Your images are not good, fix them.
 
Status
Not open for further replies.
Top