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

How to detect a Unit has Died?

Status
Not open for further replies.
Level 10
Joined
Aug 15, 2008
Messages
720
Well take some init, set your unit in variable, then take your trigger:
Use event as Unit - Unit dies (Generic)
And I guess Conditions
(Dying Unit) or (Triggering Unit) equal to your variable unit...
And then your actions...
 
Level 12
Joined
Jul 27, 2008
Messages
1,181
Better ask paladon on this (or make it jass, if it's a short trigger)

(if it is short feel free to pm me on it)

EDIT: No need for jass, saw it and used a local to reset the global after the waits (see trigger).
 

Attachments

  • Revive Test.w3x
    20.6 KB · Views: 61
Last edited:
Status
Not open for further replies.
Top