cleeezzz
The Undead Ranger.
- Reaction score
- 268
JASS:
call GroupClear(g)
call GroupEnumUnitsInRange(g,x,y,s.radius+40.,Filter(function GlobalFilter))
call BJDebugMsg(I2S(CountUnitsInGroup(g)))
if FirstOfGroup(g) == null and FirstOfGroup(d.g) != null then
call GroupClear(d.g)
endif
the Debug counts 1-2 units but FirstOfGroup(g) == null returns true