cleeezzz
The Undead Ranger.
- Reaction score
- 268
JASS:
private function FilterArrows takes nothing returns boolean
return GetUnitTypeId(GetFilterUnit()) = 039;h00J039; or GetUnitTypeId(GetFilterUnit()) = 039;h00K039; and GetWidgetLife(GetFilterUnit())>0.405
endfunction
i want to filter units that are either 'h00j' or 'h00k', then if they're alive
im not sure if im doing it right
like what if the function took it as, Unit type = h00j OR (Unit Type = h00k and h00k unit is alive)