Return the Specialization name by global specialization ID. This function take in a global specialization ID to return the internationalized name of the specialization.


See also Talent functions.

Signature:

name = GetSpecializationNameForSpecID(id)

Arguments:

  • id - Global specialization ID number (number)

Returns:

  • name - Localized specialization name (string)

Examples:

-- Return name of specialization for ID.
local name = GetSpecializationNameForSpecID(62); -- Mage: Arcane