Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns true if the unit is within 40 yards range (25 yards for Evokers).

inRange, checkedRange = UnitInRange(unit)

Arguments[]

unit
string : UnitToken

Returns[]

inRange
boolean - true if the unit is within 40 (25 for Evokers) yards of the player
checkedRange
boolean - true if a range check was actually performed; false if the information about distance to the queried unit is unavailable.

Patch changes[]

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added checkedRange return value.

Advertisement