API PromoteToLeader

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < PromoteToLeader

Promotes a unit to party leader.

PromoteToLeader(unitId or playerName)

Arguments Edit

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

Returns Edit


Example Code Edit

If you have a character named "Character", to promote him to leader you can type in-game:
/script PromoteToLeader("Character");

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki