Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API CanInspect

Last wiki revision 2023-08-13

Returns true if the player can inspect the unit. canInspect = CanInspect(unit [, showError])

  • unit: : UnitId
  • showError: - If true, the function will display an error message ("You can't inspect that unit") if you cannot inspect the specified unit.
  • canInspect: - True if you can inspect the specified unit
  • You cannot inspect NPCs, nor PvP-enabled hostile players in PvP-enabled locations.

Source

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