Wowpedia
Advertisement
Wowpedia
240,511
pages
Game Flavors
Links
Patch
Added in 2.0.1 / 2.5.1

Returns the name of a Title ID.

name, playerTitle = GetTitleName(titleId)

Arguments

titleId 
number - Ranging from 1 to GetNumTitles. Not necessarily an index as there can be missing/skipped IDs in between.

Returns

name 
string - Name of the title.
playerTitle 
boolean - Seems to be true for all existing titles.

Details

  • If the name has a trailing space, then the title is prefixed, otherwise it's suffixed.
/dump GetTitleName(2) -- "Corporal " → "Corporal Bob" (prefix)
/dump GetTitleName(36) -- "Champion of the Naaru" → "Alice, Champion of the Naaru" (suffix)

Patch changes

See also

Advertisement