- Joined
- Jan 21, 2006
- Messages
- 2,552
I was addressing a bug that Bribe brought to my attention and in trying to establish a method of determining whether or not a unit has been removed (
The above lines of code cause fatal errors, just thought (if it is not already known) that someone would find this information valuable.
unitVar == null is not accurate) I was trying to add the entire world-bounds to a region so that it could be evaluated whether the unit in question is in that region (if not then it has been removed from the game).
JASS:
call RegionAddRect(someGlobalRegion, GetWorldBounds())
call RegionAddRect(someGlobalRegion, bj_mapInitialPlayableArea)
The above lines of code cause fatal errors, just thought (if it is not already known) that someone would find this information valuable.












