JASS:
loop
exitwhen loccheck = true
if (pushbackedMinus250 == GetUnitLoc(GetEnumUnit())) then
set loccheck = true
else
call MoveUnitBack()
endif
endloop
I get a syntax error in newgen from this, in the exitwhen line i tried changing it to
JASS:
exitwhen (loccheck = true)
but it didnt help, so im kinda stuck on this, could some1 help me out?