Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API UnitPVPName

From Wowpedia
Jump to: navigation, search

Returns the unit's conjoined title and name.

titleName = UnitPVPName("unit")

Arguments

unit 
String - visible unit to retrieve the name and title of.

Returns

titleName 
String - The unit's combined title and name, e.g. "Playername, the Insane", or nil if the unit is out of range.

Details

  • This function retrieves information about all titles; at the time it was added, titles were exclusively gained through PvP rankings.
  • Note that titleName can be nil if the unit is not currently visible to the client.