Lore archive · Warcraft Wiki, 2023 dump
API UnitInRange
Last wiki revision 2023-10-26
Returns true if the unit is within 40 yards range (25 yards for Evokers). inRange, checkedRange = UnitInRange(unit)
- unit:
- inRange: - true if the unit is within 40 (25 for Evokers) yards of the player
- checkedRange: - true if a range check was actually performed; false if the information about distance to the queried unit is unavailable.
Note: UnitInRange("player") will return false, false outside of a group.
Source
https://warcraft.wiki.gg/wiki/API_UnitInRange · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.