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.

note

Returns false if whichRegion or whichUnit is null.

patch

1.00

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