WoW:API PromoteToPartyLeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(upgraded deprecated template)
m (Move page script moved page API PromoteToPartyLeader to API PromoteToPartyLeader without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
PromoteToPartyLeader("[[API_TYPE_UnitId|UnitID]]") -
{{removedapi|?|It was replaced by [[API PromoteToLeader|PromoteToLeader]]}}
Promotes the [[API_TYPE_UnitId|UnitID]] to party leader.
 
Promotes a unit in your party to party leader if you are currently the party leader.
PromoteToPartyLeader("[[UnitId|unitID]]")
 
 
== 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