Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API IsItemInRange

Last wiki revision 2022-10-18

Returns whether the item is in usable range of the unit. inRange = IsItemInRange(item [, unit])

  • item: : - If using an item name, requires the item to be in your inventory. Item IDs and links don't have this requirement.
  • unit: : UnitId - Defaults to "target"
  • inRange: - Whether the item is in range; Returns if there is no unit targeted or the item ID is invalid.

Prints if you are within 4 yards range of the target by checking the Gin-Ji Knife Set item range. /dump IsItemInRange(90175)

Source

https://warcraft.wiki.gg/wiki/API_IsItemInRange · 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.