SetFacePreset - ActorBase

From Creation Kit
Jump to: navigation, search

SKSE Member of: ActorBase Script

Changes the face preset of this actor base. (This function requires SKSE)

Syntax

Function SetFacePreset(Int value, Int index) native

Parameters

  • value : the new preset of the actor base
  • index : the index of the face morph preset

Return Value

None

Examples

; Gives the Player the 7th Eyes Preset
Player.SetFacePreset(6, 2)
 
; Gives the Player Ulfberth's Mouth Preset
Player.SetFacePreset(Ulfberth.GetFacePreset(3), 3)

Notes

  • 0 - Nose (18 presets)
  • 1 - ? (value = -1)
  • 2 - Eyes (17 presets)
  • 3 - Mouth (20 presets)

This function only works with the Player. Changes are permanent and must be updated with QueueNiNodeUpdate().

See Also