WoW:API PromoteToLeader: Difference between revisions
Jump to navigation
Jump to search
(Reformatted and updated the information.) |
|||
Line 12: | Line 12: | ||
== Returns == | == Returns == | ||
:nil | :nil | ||
== Example Code == | |||
:If you have a character named "Druxx", to promote him to leader you can type in-game: | |||
::/script PromoteToLeader("Druxx"); |
Revision as of 21:32, 11 June 2009
Promotes a unit to party leader.
PromoteToLeader(unitId or playerName)
Arguments
- unitId
- UnitId - The unit to promote.
- playername
- PlayerName - The full name of the player to promote.
Returns
- nil
Example Code
- If you have a character named "Druxx", to promote him to leader you can type in-game:
- /script PromoteToLeader("Druxx");