enderalse/source/scripts/_00E_NQ06_ShadowAlias.psc

22 lines
485 B
Plaintext
Raw Normal View History

Scriptname _00E_NQ06_ShadowAlias extends ReferenceAlias Hidden
GlobalVariable Property _00E_FathersShadowOwned Auto
_00E_NQ06_Functions Property NQ06_Freda Auto
Actor Property FS_NQR05_FatherShadowREF Auto
Event OnPlayerLoadGame()
If SKSE.GetVersion() && (_00E_FathersShadowOwned.GetValue() as Int) > 0
String sShadowName = NQ06_Freda.sFathersShadowName
if sShadowName != ""
FS_NQR05_FatherShadowREF.GetActorBase().SetName(sShadowName)
endif
EndIf
EndEvent