IsUnitInRegion

Parameters
whichRegion region

The region to check.

whichUnit unit

The unit to check for.

comment

Checks whether a unit is contained within a region.

note

Only checks the origin of the unit. Its collision size is not considered.

patch

1.00

return type
boolean
Source code
native IsUnitInRegion               takes region whichRegion, unit whichUnit returns boolean
Source
common.j
wc3modding.com
IsUnitInRegion