Background for Skyrim SE
Member of the ActorBase script
voidfunctionSetFacePreset(intvalue, intindex)Native

Description

Wiki Description

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


Caveats

CK Wiki - 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 Actor.QueueNiNodeUpdate().


Parameters

intvalue

CK Wiki Description

the new preset of the actor base

intindex

CK Wiki Description

the index of the face morph preset


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)

Auto-Generated Example

int myInt__value
int myInt__index

myActorBase__toCallFunctionOn.SetFacePreset(myInt__value, myInt__index)

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.