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

[Solved] DoesUnitExist

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
JASS:
udg_var == null

This will return false if the unit is removed and the variable isn't nulled. I can't do a life check because I dont want to get dead units to return true. Is there a good workaround for this? I just want

JASS:
if DoesUnitExist(var) then
 
Status
Not open for further replies.
Top