WoW:API PromoteToPartyLeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
m (Move page script moved page API PromoteToPartyLeader to API PromoteToPartyLeader without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
PromoteToPartyLeader("[[API_TYPE_UnitId|UnitID]]") -
{{wowapi}} __NOTOC__
Promotes the [[API_TYPE_UnitId|UnitID]] to party leader.
{{removedapi|?|It was replaced by [[API PromoteToLeader|PromoteToLeader]]}}


Promotes a unit in your party to party leader if you are currently the party leader.
PromoteToPartyLeader("[[UnitId|unitID]]")


----
 
{{WoW API}}
== Arguments ==
:; unitId : [[UnitId]] - The unit to promote
 
 
== Returns ==
:nil

Latest revision as of 04:47, 15 August 2023

WoW API < PromoteToPartyLeader

Promotes a unit in your party to party leader if you are currently the party leader.

PromoteToPartyLeader("unitID")


Arguments[edit]

unitId
UnitId - The unit to promote


Returns[edit]

nil