WoW:API PromoteToPartyLeader: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API PromoteToPartyLeader to API PromoteToPartyLeader without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{wowapi}}
{{wowapi}} __NOTOC__
{{Stub/API}}
{{removedapi|?|It was replaced by [[API PromoteToLeader|PromoteToLeader]]}}
PromoteToPartyLeader("[[API_TYPE_UnitId|UnitID]]") -
 
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