API GetPartyLeaderIndex

104,669pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetPartyLeaderIndex

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

 partyLeaderIndex = GetPartyLeaderIndex();

Note: Party members 1-4 does not include yourself. Use IsPartyLeader() to test if you are the party leader.


(Number partyLeaderIndex)
The index of the current party leader (1-4).
Returns 0 if you are not in a party.
Also returns 0 if you are the leader.

Returns the index of the current party leader (1-4). If the leader is in another party in a raid group, the function returns 0 (not nil).

See alsoEdit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki