- Found in:
- SKSE
Description
Wiki Description
Sets the ColorForm of this actors hair. (This function requires SKSE)
Caveats
CK Wiki - Notes
- This function is performed on an ActorBase, meaning all Actors derived from this will have their hair color set.
- This functions requires Actor.QueueNiNodeUpdate() to be called for the changes to be visible.
- This function also requires that preprocessed heads be disabled before calling Actor.QueueNiNodeUpdate().
Parameters
ColorFormcolor
CK Wiki Description
The color form that this actors hair will be.
Examples
Form Property Black Auto ; Creation Kit may not recognize the new ColorForm type
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
ColorForm colorBlack = Black as ColorForm
pActorBase.SetHairColor(colorBlack)
; string facegen = "bUseFaceGenPreprocessedHeads:General"
; Utility.SetINIBool(facegen, false)
; Game.GetPlayer().QueueNiNodeUpdate()
; Utility.SetINIBool(facegen, true)Auto-Generated Example
ColorForm myColorForm__color
myActorBase__toCallFunctionOn.SetHairColor(myColorForm__color)