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

Where to find Matching unit is Invoulnerable equal to false!

Status
Not open for further replies.
Level 11
Joined
Jul 20, 2004
Messages
2,760
That might be an WEU indeed or you might just ignore the invulnerable units. If you are doing this for a pick up every unit then it really isn't necessary to bother about invulnerability. Make sure that the spell you give to the dummy unit doesn't work on invulnerable units and your problem is solved! ;)

~Daelin
 
Level 12
Joined
Mar 11, 2004
Messages
600
Isn't this incredibily easy?

Damage the unit using the damage trigger actions.

Now if you wanted something to don't affect invulnerable unit and it is not damage / spell

You can figure out if a unit is invulnerable by using the damage action for 0.01 damage, if hp is equal to the hp before using the damage action, done!
 
Status
Not open for further replies.
Top