enderalse/source/scripts/_00E_HorseNameAlias.psc

20 lines
454 B
Plaintext

Scriptname _00E_HorseNameAlias extends ReferenceAlias Hidden
Event OnPlayerLoadGame()
If SKSE.GetVersion() && _00E_HorseOwned.GetValue() as Int != 0
if NQ06_Freda.sHorseName != ""
(PlayerHorseAlias.GetReference() as Actor).GetActorBase().SetName(NQ06_Freda.sHorseName)
endif
EndIf
EndEvent
GlobalVariable Property _00E_HorseOwned Auto
_00E_NQ06_Functions Property NQ06_Freda Auto
ReferenceAlias Property PlayerHorseAlias Auto