20 lines
432 B
Plaintext
20 lines
432 B
Plaintext
|
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
|