Fandom

WoWWiki

API GetHairCustomization

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < GetHairCustomization

Returns the type of haircut customization available to the character.

cType = GetHairCustomization();

Returns Edit

cType 
String - Race-dependent, globalized name of haircut customization available to the character:
  • "NORMAL"
  • "HORNS"

Details Edit

  • Both hair and style of the character's haircut may be customized. You can get a localized description of the available customization types by looking up the value of HAIR_cType_STYLE and HAIR_cType_COLOR global variables.
print("You may customize your...", 
 _G["HAIR_" .. GetFacialHairCustomization() .. "_STYLE"],
 _G["HAIR_" .. GetFacialHairCustomization() .. "_COLOR"]);

Also on Fandom

Random Wiki