Wowpedia

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

READ MORE

Wowpedia
Register
Advertisement

Returns true if the player can inspect the unit.

canInspect = CanInspect(unit [, showError])

Arguments[]

unit
string : UnitId
showError
boolean? - If true, the function will display an error message ("You can't inspect that unit") if you cannot inspect the specified unit.

Returns[]

canInspect
boolean - True if you can inspect the specified unit

Details[]

  • You cannot inspect NPCs, nor PvP-enabled hostile players in PvP-enabled locations.

See also[]

Advertisement