Background for Skyrim SE
Member of the ActorBase script
ColorFormfunctionGetHairColor()Native

Description

Wiki Description

Returns the ColorForm of this actors hair. (This function requires SKSE)


Caveats


Examples

ActorBase pActorBase = Game.GetPlayer().GetActorBase()
ColorForm color = pActorBase.GetHairColor()
int hue = color.GetHue()
int sat = color.GetSaturation()
int lum = color.GetLuminosity()
if hue >= 230 && hue <= 255 && sat >= 190 && sat <= 255 && lum >= 125 && lum <= 255
    Debug.Trace("Player has red hair!")
endif

Auto-Generated Example

ColorForm returnedValue = myActorBase__toCallFunctionOn.GetHairColor()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.