• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[General] Detect Animate Dead Units

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,601
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: 82
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