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

Is there a way to check a unit's Death Type?

Status
Not open for further replies.

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,875
Yep, it's a Boolean Comparison found under Unit - Get Unit Boolean Field:
  • Untitled Trigger 001
    • Events
    • Conditions
      • (Unit: (Triggering unit)'s Boolean Field: Raisable ('urai')) Equal to True
      • (Unit: (Triggering unit)'s Boolean Field: Decayable ('udec')) Equal to True
    • Actions
Some of these fields don't work properly so keep that in mind if you run into issues.
 
Level 11
Joined
May 31, 2019
Messages
150
Yep, it's a Boolean Comparison found under Unit - Get Unit Boolean Field:
  • Untitled Trigger 001
    • Events
    • Conditions
      • (Unit: (Triggering unit)'s Boolean Field: Raisable ('urai')) Equal to True
      • (Unit: (Triggering unit)'s Boolean Field: Decayable ('udec')) Equal to True
    • Actions
Some of these fields don't work properly so keep that in mind if you run into issues.
Thanks. Has it been documented anywhere which fields don't work?
 
Status
Not open for further replies.
Top