29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
|
Scriptname _00E_MQ02_YerosCellarJesparFSSC extends ObjectReference
|
||
|
|
||
|
; Script on the triggerbox _00E_MQ02_YerosCellarJesparFSTGBX in Yero's
|
||
|
; cellar. This triggerbox teleports Jespar into Yero's cellar if he
|
||
|
; is not there. This is meant to failsave
|
||
|
; http://sureai.net:9898/browse/ERB-1132 .
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
if (akActionRef == PlayerRef)
|
||
|
; Failsave for http://sureai.net:9898/browse/ERB-1192 :
|
||
|
if MQ02_SC1_JesparDialogeInterlude.IsPlaying()
|
||
|
MQ02_SC1_JesparDialogeInterlude.Stop()
|
||
|
endif
|
||
|
; Failsave for the case when Jespar isn't here:
|
||
|
if (MQ02.GetStage() >= 60) && (MQ02.GetStage() <= 120)
|
||
|
if (_00E_MC_JesparREF.GetParentCell() != PlayerRef.GetParentCell())
|
||
|
_00E_MC_JesparREF.MoveTo(MQ02_D5_JesparYeroMarker01)
|
||
|
EndIf
|
||
|
EndIf
|
||
|
EndIf
|
||
|
EndEvent
|
||
|
|
||
|
|
||
|
Quest Property MQ02 Auto
|
||
|
Actor Property _00E_MC_JesparREF Auto
|
||
|
ObjectReference Property PlayerRef Auto
|
||
|
ObjectReference Property MQ02_D5_JesparYeroMarker01 Auto
|
||
|
Scene Property MQ02_SC1_JesparDialogeInterlude Auto
|