4
Fork 0

Removed the crash failsafe on the Riverville tavern door, not reproducible in SE

development
Eddoursul 3 months ago
parent c4c809c392
commit 627fa71a4e
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      Skyrim.esm
  3. BIN
      scripts/_00e_mq02_crashfailsaveoutsidesc.pex
  4. BIN
      scripts/_00e_mq02_doorcrashfailsavesc.pex
  5. 16
      source/scripts/_00e_mq02_crashfailsaveoutsidesc.psc
  6. 26
      source/scripts/_00e_mq02_doorcrashfailsavesc.psc

Binary file not shown.

Binary file not shown.

@ -1,16 +0,0 @@
Scriptname _00E_MQ02_CrashFailsaveOutsideSC extends ObjectReference
; This is an extremely ugly failsave to prevent the game from crashing when the player leaves the tavern with Jespar (only occurs when Jespar is enabled
; and when queststage is 140. If you find out what's actually causing this - we're at our wits' ends, please tell us so. This script re-enabled Jespar after
; hes is being disabled in the tavern when using the door.)
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF && _00E_MC_JesparREF.IsDisabled()
_00E_MC_JesparREF.Enable()
EndIf
EndEvent
Actor Property PlayerREF Auto
Actor Property _00E_MC_JesparREF Auto

@ -1,26 +0,0 @@
Scriptname _00E_MQ02_DoorCrashFailsaveSC extends ObjectReference
; This is an extremely ugly failsave to prevent the game from crashing when the player leaves the tavern with Jespar (only occurs when Jespar is enabled
; and when queststage is 140. If you find out what's actually causing this - we're at our wits' ends, please tell us so.)
Event OnActivate(ObjectReference akActionRef)
if !bDone
if akActionRef == PlayerREF && MQ02.GetCurrentStageID() == 140
_00E_MC_JesparREF.Disable()
EndIf
EndIf
EndEvent
bool bDone
Actor Property PlayerREF Auto
Actor Property _00E_MC_JesparREF Auto
Quest Property MQ02 Auto
Loading…
Cancel
Save