Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns the name of a player title.

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[]

Bc icon Patch 2.0.1 (2006-12-05): Added.

See also[]

Advertisement