WoW API: PromoteToLeader

Revision as of 04:47, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API PromoteToLeader to API PromoteToLeader without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WoW API < PromoteToLeader


Promotes a unit to party leader.

PromoteToLeader(unitId or playerName)


ArgumentsEdit

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

ReturnsEdit

nil

Example CodeEdit

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