27 lines
635 B
Plaintext
27 lines
635 B
Plaintext
|
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.GetStage() == 140
|
||
|
|
||
|
_00E_MC_JesparREF.Disable()
|
||
|
|
||
|
EndIf
|
||
|
|
||
|
EndIf
|
||
|
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
bool bDone
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
Actor Property _00E_MC_JesparREF Auto
|
||
|
|
||
|
Quest Property MQ02 Auto
|