v0.13.8

UnitPlayerOrPetInParty

functionimplementedavailable in: camelot

Returns true if a different unit or pet is a member of the party.

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

Parameters

nametypedescription
unitstring?The unit to check for party membership.
partyIndexnumber?

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: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.