enderalse/source/scripts/_00e_mq11a_caliasftoutsidefailsavesc.psc

24 lines
692 B
Plaintext

Scriptname _00E_MQ11a_CaliaSFTOutsideFailsaveSC extends ObjectReference
; Script on the triggerbox _00E_MQ11a_CaliaSFTOutsideFailsaveTGBX
; placed outside of the Frostcliff Tavern (Schneefelstaverne).
; The purpose is to failsave http://sureai.net:9898/browse/ERB-1389 .
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
if MQ11a.GetCurrentStageID() == 40
if _00E_MC_CaliaREF.GetDistance(PlayerREF) > 4000
_00E_MC_CaliaREF.EvaluatePackage()
endif
EndIf
EndIf
EndEvent
;GlobalVariable Property MQ11a_TravelState02 Auto
Actor Property _00E_MC_CaliaREF Auto
Actor Property PlayerREF Auto
Quest Property MQ11a Auto