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

replace ability problem

Status
Not open for further replies.
Level 8
Joined
Jun 25, 2010
Messages
153
I need help. I was working on a Trigger that would replace a unit ability on a hero without removing a buff and while I was working and tested it the previous ability would be removed but the ability that would replace it never appears. Im still new at triggering :grin: Here my trigger.
  • Female AllowDisallow
    • Events
      • Unit - A unit Begins casting a ability
    • Conditions
    • Actions
      • If (all conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • (ability being cast) Equal to Allow/Disallow *disallow*
      • Then - Actions
        • Unit - Remove (Ability being cast) from (Casting unit)
        • Unit - Add Allow/Disallow *allow* to (Casting unit)
      • Else - Actions
        • Do Nothing
 
Last edited by a moderator:
Status
Not open for further replies.
Top