- Joined
- Mar 8, 2009
- Messages
- 360
When i use
it never returns true, while there are darkgreen and brown units
JASS:
private function isUnitAlly2 takes nothing returns boolean
return IsUnitOwnedByPlayer(GetFilterUnit(), Player(11)) or IsUnitOwnedByPlayer(GetFilterUnit(), Player(12))
endfunction
it never returns true, while there are darkgreen and brown units