4
Fork 0
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.
 
 
 

16 lines
671 B

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