• 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] Action problem

Status
Not open for further replies.
Level 29
Joined
Jul 29, 2007
Messages
5,174
No, this will consist of 3 triggers.

The first one would add a event called "Unit_Variable takes damage" to the 3rd one.

Then the second one would be where a unit casts a spell and sets the target into the Unit_Variable.

The third one would be event-less (you add it in the first one) and would include your actions incase the target takes damage.

[Notice] Takes Damage isn't the same as Is attacked.

Takes Damage is when the unit actualy gets hit and takes damage.
Is attacked is a bit after the attack issue has been given, when the unit starts the attack animation.
 
Status
Not open for further replies.
Top