Wikia

WoWWiki

API GetPartyLeaderIndex

Talk0
98,461pages on
this wiki

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 yourself is the party leader.


Arguments
None

Returns
(Number partyLeaderIndex)
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.

Description
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 also

Advertisement | Your ad here

Photos

Add a Photo
61,977photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki