SetFacePreset - ActorBase

SKSE Member of: ActorBase Script

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

SyntaxEdit

Function SetFacePreset(Int value, Int index) native

ParametersEdit

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

Return ValueEdit

None

ExamplesEdit

; Gives the Player the 7th Eyes Preset
Player.SetFacePreset(6, 2)

; Gives the Player Ulfberth's Mouth Preset
Player.SetFacePreset(Ulfberth.GetFacePreset(3), 3)

NotesEdit

  • 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 AlsoEdit