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

[Trigger] my attribute modification not working

Status
Not open for further replies.
I want to create an ability where it modifies the attributes of a unit, unfortunately, it's not working and I can't seem to figure out why. Here is a trigger of one of the unit's moves that use this.

  • Agility of the Eagle lvl 1
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Wisdom of the Owl
      • (Level of Agility of the Eagle for (Triggering unit)) Equal to 1
    • Actions
      • Animation - Change (Triggering unit)'s vertex coloring to (0.00%, 100.00%, 0.00%) with 0.00% transparency
      • Hero - Modify Agility of (Triggering unit): Add 7
      • Hero - Modify Strength of (Triggering unit): Subtract 7
      • Wait 30.00 seconds
      • Hero - Modify Agility of (Triggering unit): Subtract 7
      • Hero - Modify Strength of (Triggering unit): Add 7
can anyone help me identify the problem?
 
You may still want to be careful when using Wait functions.

They're very prone to causing errors and problems because a trigger can often forget who a triggering unit is for example after a long wait period.

Though it seems here to not be the case, it can happen in some other instances.
 
Status
Not open for further replies.
Back
Top