Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
28 lines
725 B
28 lines
725 B
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 |