Returns a token used for displaying "hair" customization options. The token referred to by this function can be used to look up a global variable containing localized names for the customization options available to the player's race at character creation time and in the Barbershop UI; see example.
See also Barbershop functions.
Signature:
token
=
GetHairCustomization()
Returns:
token
- Part of a localized string token for displaying "hair" options for the player's race (string
)
Examples:
-- prints localized names for customization options -- e.g. "Hair Style"/"Hair Color" or "Horn Style"/"Horn Color" local token = GetHairCustomization(); print(_G["HAIR_"..token.."_STYLE"]); print(_G["HAIR_"..token.."_COLOR"]);