Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
mNo edit summary
(Updated to match the current API boilerplate and noted it was removed.)
Line 1: Line 1:
{{wowapi}}
+
{{wowapi}} __NOTOC__
  +
{{removedapi|?|It was replaced by [[API PromoteToLeader|PromoteToLeader]]}}
{{Stub/API}}
 
  +
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

Revision as of 15:31, 27 June 2007

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

PromoteToPartyLeader("unitID")


Arguments

unitId
UnitId - The unit to promote


Returns

nil