Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UnitPlayerOrPetInParty

Last wiki revision 2023-08-13

Returns true if a different unit or pet is a member of the party. inMyParty = UnitPlayerOrPetInParty(unit)

  • unit: : The unit to check for party membership.
  • inMyParty: - 1 if the unit is another player or another player's pet in your party, nil otherwise.
  • This function returns nil if the unit is the player, or the player's pet.

Source

https://warcraft.wiki.gg/wiki/API_UnitPlayerOrPetInParty · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.