v0.13.8

UnitIsHumanPlayer

functionimplementedavailable in: camelot

Whether the unit is a character controlled by a player. · description by wowlua

signaturewowlua
function UnitIsHumanPlayer(    unit: string?,    partyIndex: number?): boolean

Parameters

nametypedescription
unitstring?
partyIndexnumber?The party category to check, such as home or instance.

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) (Unit system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.