enderalse/source/scripts/_00E_Func_RefreshFace.psc

17 lines
450 B
Plaintext
Raw Normal View History

Scriptname _00E_Func_RefreshFace Hidden
Function RefreshFace() Global
2024-02-09 20:18:37 +00:00
if SKSE.GetVersion()
Actor PlayerREF = Game.GetForm(0x14) as Actor
if ! PlayerREF.IsOnMount() && ! PlayerREF.IsSwimming() ; https://ck.uesp.net/wiki/QueueNiNodeUpdate_-_Actor
String facegen = "bUseFaceGenPreprocessedHeads:General"
Utility.SetINIBool(facegen, False)
PlayerREF.QueueNiNodeUpdate()
Utility.SetINIBool(facegen, True)
endif
endif
EndFunction