enderalse/scripts/source/_00e_mq09a_failsavesc.psc

28 lines
725 B
Plaintext

Scriptname _00E_MQ09a_FailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer() && !bDone
Game.RequestAutoSave()
bDone = True
if _00E_MC_JesparREF.GetParentCell() != Game.GetPlayer().GetParentCell()
_00E_MC_JesparREF.MoveTo(MQ08JesparTempleMarkerRef)
EndIf
If _00E_MC_JesparREF.GetParentCell() != _00E_MC_KonstantinREF.GetParentCell()
_00E_MC_KonstantinREF.MoveTo(MQ08_KonstantinPortMarker02REF)
EndIf
EndIf
EndEvent
bool bDone
Actor Property _00E_MC_JesparREF Auto
Actor Property _00E_MC_KonstantinREF Auto
ObjectReference Property MQ08JesparTempleMarkerRef Auto
ObjectReference Property MQ08_KonstantinPortMarker02REF Auto