benilla-re systems structs docs

Script::UnitPlayerOrPetInParty

function · ui · orchestration

Address
0x5162f0 · 83 bytes, up to 0x516342
Signature
int __fastcall (lua_State *L)
Meaning
Returns 1 when a unit or its owner is in the player party
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/unitverbs#same-unit-and-membership

Finding: Same unit and membership in ui: time, console and the remaining unit functions

UnitIsUnit(a, b) returns 1 when the two strings are equal without regard to case, even if neither names a unit, and otherwise when both resolve to the same nonzero GUID; else nil. A non-string raises Usage: UnitIsUnit("unit", "otherUnit"). UnitInParty(unit) returns 1 when the GUID is a party member, UnitPlayerOrPetInParty(unit) 1 for a party member or pet and UnitPlayerOrPetInRaid(unit) 1 for a raid member or pet, else nil; none of the three checks its argument.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.