1
Fork 0

Removed non-working SetName failsafes from _00E_HorseFlute_SC (called on actor forms)

development
Eddoursul 3 months ago
parent 5ffd5d7e97
commit f53bca8765
  1. BIN
      scripts/_00e_horseflute_sc.pex
  2. 7
      source/scripts/_00e_horseflute_sc.psc

Binary file not shown.

@ -59,18 +59,14 @@ Function PrepareTeleport()
; if the player only has one mount, summon it immediately ; if the player only has one mount, summon it immediately
; if the player has multiple mounts, show as prompt on which one to summon ; if the player has multiple mounts, show as prompt on which one to summon
; this also contains a failsafe regarding the name of the mounts, otherwise the names do not persist in consecutive saves
If _00E_MountGlobal.GetValueInt() == 1 If _00E_MountGlobal.GetValueInt() == 1
If _00E_MuleOwned.GetValueInt() == 1 If _00E_MuleOwned.GetValueInt() == 1
TeleportMount(PlayerEsel) TeleportMount(PlayerEsel)
PlayerEsel.SetName(NQ06_Freda.sMuleName)
ElseIf _00E_HorseOwned.GetValueInt() == 1 ElseIf _00E_HorseOwned.GetValueInt() == 1
TeleportMount(PlayerHorse) TeleportMount(PlayerHorse)
PlayerHorse.SetName(NQ06_Freda.sHorseName)
ElseIf _00E_FathersShadowOwned.GetValueInt() == 1 ElseIf _00E_FathersShadowOwned.GetValueInt() == 1
TeleportMount(FS_NQR05_FatherShadowREF) TeleportMount(FS_NQR05_FatherShadowREF)
FS_NQR05_FatherShadowREF.SetName(NQ06_Freda.sFathersShadowName)
EndIf EndIf
ElseIf _00E_MountGlobal.GetValueInt() > 1 ElseIf _00E_MountGlobal.GetValueInt() > 1
@ -78,13 +74,10 @@ Function PrepareTeleport()
iButton = SelectionMenu.show() iButton = SelectionMenu.show()
If iButton == 0 If iButton == 0
TeleportMount(PlayerEsel) TeleportMount(PlayerEsel)
PlayerEsel.SetName(NQ06_Freda.sMuleName)
ElseIf iButton == 1 ElseIf iButton == 1
TeleportMount(PlayerHorse) TeleportMount(PlayerHorse)
PlayerHorse.SetName(NQ06_Freda.sHorseName)
ElseIf iButton == 2 ElseIf iButton == 2
TeleportMount(FS_NQR05_FatherShadowREF) TeleportMount(FS_NQR05_FatherShadowREF)
FS_NQR05_FatherShadowREF.SetName(NQ06_Freda.sFathersShadowName)
ElseIf iButton == 3 ElseIf iButton == 3
NQ06_Freda.RenameMount(true) NQ06_Freda.RenameMount(true)
EndIf EndIf

Loading…
Cancel
Save