2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ07b_SC02_Failsave02SC extends ObjectReference
|
|
|
|
|
|
|
|
; failsafe for http://sureai.net:9898/browse/ERB-2045, moves Lishari and the guards to their respective markers
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If (akActionRef == PlayerREF) && (MQ07b.GetCurrentStageID() == 35) && (bDone == False)
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
bDone = True
|
|
|
|
_00E_MC_LishariREF.MoveTo(MQ07_SC02_LishariStartMarker)
|
|
|
|
_00E_MQ07OrdenskriegerREF.MoveTo(MQ07b_SC02_GuardStandMarker02)
|
|
|
|
_00E_MQ07Ordenskrieger02REF.MoveTo(MQ07b_SC02_GuardStandMarker)
|
|
|
|
|
|
|
|
If _00E_MC_CaliaREF == None
|
|
|
|
_00E_MC_CaliaREF = Game.GetFormFromFile(0x00035825, "Skyrim.esm") as Actor
|
|
|
|
EndIf
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_Func_SetNPCAsCompanion.SetNPCAsCompanion(_00E_MC_CaliaREF, False)
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
bool bDone = false
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Actor Property _00E_MC_LishariREF Auto
|
|
|
|
Actor Property _00E_MC_CaliaREF Auto
|
|
|
|
Actor Property _00E_MQ07OrdenskriegerREF Auto
|
|
|
|
Actor Property _00E_MQ07Ordenskrieger02REF Auto
|
|
|
|
|
|
|
|
ObjectReference Property MQ07_SC02_LishariStartMarker Auto
|
|
|
|
ObjectReference Property MQ07b_SC02_GuardStandMarker Auto
|
|
|
|
ObjectReference Property MQ07b_SC02_GuardStandMarker02 Auto
|
|
|
|
|
|
|
|
Quest Property MQ07b Auto
|