v0.13.8

UnitCanAssist

functionimplementedavailable in: camelot

Indicates whether the first unit can assist the second unit.

signaturewowlua
function UnitCanAssist(    unit: string,    target: string,    canAssistImmunePC: boolean,    canAssistUninteractable: boolean): boolean

Parameters

nametypedescription
unitstring
targetstring
canAssistImmunePCbooleanDefault: false.
canAssistUninteractablebooleanDefault: false.

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 ↗.