Chaos_Knight
New Member
- Reaction score
- 39
How can i check the owner of the [lJASS]GetEnumUnit()[/lJASS]?
Cause mine code doesnt work.
Cause mine code doesnt work.
JASS:
private function ExprFilter takes nothing returns boolean
return IsUnitType(GetEnumUnit(), UNIT_TYPE_MAGIC_IMMUNE) ==false
return GetOwningPlayer(GetEnumUnit()) != GetTriggerPlayer()
endfunction