- Joined
- Jul 20, 2009
- Messages
- 835
Hello fellows, seems I need some more theory knowledge to get an answer on my question.
Will this thing desync on usage and why so? Please explain it to me, thank you a lot!
JASS:
scope a initializer i
globals
boolexpr VALID_ALLY = null
endglobals
private function v takes nothing returns boolean
return IsUnitAlly(GetFilterUnit(),GetLocalPlayer())
endfunction
private function i takes nothing returns nothing
set VALID_ALLY = Filter(function v)
endfunction
endscope
Will this thing desync on usage and why so? Please explain it to me, thank you a lot!