Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
432 B
20 lines
432 B
4 months ago
|
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
|