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

[General] Detect Animate Dead Units

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,602
Hey.

How to Detect Animate Dead Units that are risen from death?

Trigger doesn't work with or without the condition:

  • Untitled Trigger 001
    • Events
      • Unit - A unit enters (Entire map)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Ghoul
    • Actions
      • Game - Display to (All players) the text: aaa
I want to add the risen units to a unit group.


Test map is attached.
 

Attachments

  • DETECT.w3x
    16.6 KB · Views: 83
Level 12
Joined
Mar 13, 2012
Messages
1,121
When the abilty is finished check for the Animate Dead buff, which all revived units gain.
 
Last edited:
Level 13
Joined
Sep 13, 2010
Messages
550
But summoned units are Revived units, Water elementals, etc. So it will work for those too! Don't forget to put a condition, and if you haven't added yet, do it.

  • Untitled Trigger 001
    • Events
      • Unit - A unit Spawns a summoned unit
    • Conditions
      • ((Triggering unit) has buff Animate Dead) Equal to (==) True
    • Actions
      • Game - Display to (All players) the text: aaa
 
Status
Not open for further replies.
Top