- Joined
- Sep 9, 2009
- Messages
- 658
Is
Anyway, I'm using it for a spell because apparently, an empty group does not equate to null.
The else actions don't fire when I'm 100% sure the group is empty. So I can only conclude that an empty group is not equal to a null group. So I think I'll use IsUnitGroupEmptyBJ if it's not a bad function.
IsUnitGroupEmptyBJ
a good BJ? I looked at it and it seemed fine to me although I can't really be sure since it's a BJ that calls another BJ.Anyway, I'm using it for a spell because apparently, an empty group does not equate to null.
JASS:
if g != null then
blah blah actions
else
call PauseTimer(t)
call DestroyTimer(t)
endif
The else actions don't fire when I'm 100% sure the group is empty. So I can only conclude that an empty group is not equal to a null group. So I think I'll use IsUnitGroupEmptyBJ if it's not a bad function.