Lore archive · Warcraft Wiki, 2023 dump
API SetCurrentTitle
Last wiki revision 2023-01-28
Sets the player's displayed title. SetCurrentTitle(titleId)
- titleId: : TitleId - ID of the title you want to set. The identifiers are global and therefore do not depend on which titles you have learned., invalid or unlearned IDs clear your title.
- The last indexed value (currently 143) returns nil and removes the player's name completely (not available to players).
- GetTitleName can be used to find the name associated with the TitleId.
This sets the title "Elder" if your character had earned the title, otherwise it removes any active title. SetCurrentTitle(43)
Sets a random title from the available ones.
Source
https://warcraft.wiki.gg/wiki/API_SetCurrentTitle · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.