• 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 faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

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