WoW:API PromoteToLeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(Reformatted and updated the information.)
Line 1: Line 1:
{{Stub/API}}
{{wowapi}} __NOTOC__
PromoteToPartyLeader("[[API_TYPE_PlayerName|PlayerName]]") -
Promotes the [[API_TYPE_PlayerName|PlayerName]] to party leader.


In 2.0.1, the first argument changed from [[API_TYPE_UnitId|UnitId]] to [[API_TYPE_PlayerName|PlayerName]].
 
Promotes a unit to party leader.
PromoteToLeader([[unitId]] or [[playerName]])
 
 
== Arguments ==
:;unitId : [[UnitId]] - The unit to promote.
:;playername : [[PlayerName]] - The full name of the player to promote.
 
== Returns ==
:nil

Revision as of 16:24, 8 June 2007

WoW API < PromoteToLeader


Promotes a unit to party leader.

PromoteToLeader(unitId or playerName)


Arguments

unitId
UnitId - The unit to promote.
playername
PlayerName - The full name of the player to promote.

Returns

nil