parent
a3560e8e65
commit
6eb0689e3a
10 changed files with 40 additions and 33 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@ |
|||||||
|
Scriptname _00E_DonkeyNameAlias extends ReferenceAlias Hidden |
||||||
|
|
||||||
|
Event OnPlayerLoadGame() |
||||||
|
|
||||||
|
If _00E_MuleOwned.GetValue() as Int != 0 |
||||||
|
|
||||||
|
if NQ06_Freda.sMuleName != "" |
||||||
|
_00E_NQ06Bonni.SetName(NQ06_Freda.sMuleName) |
||||||
|
endif |
||||||
|
|
||||||
|
EndIf |
||||||
|
|
||||||
|
EndEvent |
||||||
|
|
||||||
|
GlobalVariable Property _00E_MuleOwned Auto |
||||||
|
|
||||||
|
_00E_NQ06_Functions Property NQ06_Freda Auto |
||||||
|
|
||||||
|
ActorBase Property _00E_NQ06Bonni Auto |
@ -0,0 +1,19 @@ |
|||||||
|
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 |
@ -1,17 +0,0 @@ |
|||||||
Scriptname _00E_NQ06_DonkeyAlias extends ReferenceAlias Hidden |
|
||||||
|
|
||||||
GlobalVariable Property _00E_MuleOwned Auto |
|
||||||
|
|
||||||
Event OnPlayerLoadGame() |
|
||||||
|
|
||||||
If (_00E_MuleOwned.GetValue() as Int) > 0 |
|
||||||
|
|
||||||
String sMuleName = (GetOwningQuest() as _00E_NQ06_Functions).sMuleName |
|
||||||
|
|
||||||
if sMuleName != "" |
|
||||||
(GetReference() as Actor).GetActorBase().SetName(sMuleName) |
|
||||||
endif |
|
||||||
|
|
||||||
EndIf |
|
||||||
|
|
||||||
EndEvent |
|
Loading…
Reference in new issue