- Joined
- Sep 2, 2005
- Messages
- 1,029
How do I get around this? I want to call a function from a ForGroupBJ(). There are 2 different scenarios, and one of them will need a variable integer passed to it. What do I do?
Code Snippet
Code Snippet
JASS:
if (remainder < 0) then
set remainder = remainder/allCount
if (remainder<1) then
call ForGroupBJ(all, function DeincrementLife(1))
else
call ForGroupBJ(all, function DeincrementLife(remainder))
endif
endif