SetFacePreset - ActorBase
Revision as of 08:34, 8 September 2012 by imported>Seigneur Voland (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Changes the face preset of this actor base. (This function requires S...")
SKSE Member of: ActorBase Script
Changes the face preset of this actor base. (This function requires SKSE)
Syntax[edit | edit source]
Function SetFacePreset(Int value, Int index) native
Parameters[edit | edit source]
- value : the new preset of the actor base
- index : the index of the face morph preset
Return Value[edit | edit source]
None
Examples[edit | edit source]
; 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[edit | edit source]
- 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().