enderalse/source/scripts/_00E_Func_RefreshFace.psc
2024-02-09 21:26:31 +01:00

17 lines
450 B
Plaintext

Scriptname _00E_Func_RefreshFace Hidden
Function RefreshFace() Global
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