Wikia

WoWWiki

API PromoteToLeader

Talk0
101,692pages on
this wiki
WoW API < PromoteToLeader


Promotes a unit to party leader.

PromoteToLeader(unitId or playerName)


Arguments Edit

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

Returns Edit

nil

Example Code Edit

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

Around Wikia's network

Random Wiki