• 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 if a unit is a ward classification?

Status
Not open for further replies.
Level 12
Joined
Mar 13, 2012
Messages
1,121
Like the title says.
How to check if a unit is a ward type unit, seems there is almost every check except that..

There is no direct check. Use a small workaround, e.g. rawcodes of the unit or add an invisible tracker ability.
 
Status
Not open for further replies.
Top