enderalse/source/scripts/_00E_HorseNameAlias.psc

20 lines
432 B
Plaintext
Raw Normal View History

2024-01-23 15:16:40 +00:00
Scriptname _00E_HorseNameAlias extends ReferenceAlias Hidden
Event OnPlayerLoadGame()
If _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