Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPartyLeaderIndex

Last wiki revision 2020-01-08

Returns the index of the current party leader (1-4). partyLeaderIndex = GetPartyLeaderIndex

  • partyLeaderIndex : Number - The index of the current party leader (1-4), or 0 if not applicable.
  • Party members 1-4 does not include yourself. Use IsPartyLeader to test if you yourself is the party leader.
  • If the leader is in another party in a raid group, the function returns 0 (not nil).
  • GetNumPartyMembers
  • IsPartyLeader

Source

https://warcraft.wiki.gg/wiki/API_GetPartyLeaderIndex · 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.