v0.13.8

CheckInteractDistance

functionimplementedavailable in: camelot

Returns true if the player is in range to perform a specific interaction with the unit.

signaturewowlua
function CheckInteractDistance(    unitGUID: string,    distIndex: number): boolean

Parameters

nametypedescription
unitGUIDstring
distIndexnumberA value from 1 to 5:

Returns

result · boolean

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PlayerScript system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.