Returns the name of a unit including the unit's current title. Titles are no longer specific to PvP; this function returns a unit's name with whichever title he or she is currently displaying (e.g. "Gladiator Spin", "Keydar Jenkins", "Ownsusohard, Champion of the Frozen Wastes", etc).
See also PvP functions, Unit functions.
Signature:
name
=
UnitPVPName("unit")
Arguments:
unit
- A unit to query (string
, unitID)
Returns:
name
- Name of the unit including the unit's current title (string
)