PromoteToLeader

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 2.0.1 / 1.13.2

Promotes a unit to group leader.

PromoteToLeader(unitId or playerName)

Arguments

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

Example Code

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