WoW:API GetPartyLeaderIndex

Revision as of 21:10, 13 May 2006 by WoWWiki>Mikk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetPartyLeaderIndex -Documentation by Mikk-

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).
Cases not yet tested
- If you are not in a party (suspect nil)
- If you yourself is the party leader (suspect nil)
- If the leader is in another party in a raid group (suspect nil)

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



Template:WoW API