Dirac
22710180
- Reaction score
- 147
At the current moment you can refferr to GetEnumUnit as thegroup.FirstOfGroup. So yes, it would work, and it would be faster than GetEnumUnit
function GroupRefresh takes group g returns nothing
set RefreshGroup=g
call GroupClear(RefreshGroup)
call ForGroup(RefreshGroup,function RefreshEnum)
endfunction