2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ11a_CaliaQuarterDoorScript extends ObjectReference
|
|
|
|
|
|
|
|
Event OnInit()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
; if (akActionRef == Game.GetPlayer())
|
2024-01-10 14:08:24 +00:00
|
|
|
; if (MQ11a.GetCurrentStageID() == 80) && !(Game.GetPlayer().IsInCombat()) && !Done
|
|
|
|
; MQ11a.SetCurrentStageID(85)
|
2021-10-05 22:15:58 +00:00
|
|
|
; EndIf
|
|
|
|
; EndIf
|
|
|
|
|
|
|
|
if (akActionRef == Game.GetPlayer())
|
2024-01-10 14:08:24 +00:00
|
|
|
if (MQ11a.GetCurrentStageID() == 100) && (Game.GetPlayer().GetItemCount(_00E_MQ11a_DalGalarQuarterKey) >= 0)
|
2021-10-05 22:15:58 +00:00
|
|
|
BlockActivation(False)
|
|
|
|
Self.Activate(Game.GetPlayer(), True)
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
bool Done = False
|
|
|
|
|
|
|
|
Quest Property MQ11a Auto
|
|
|
|
Key Property _00E_MQ11a_DalGalarQuarterKey Auto
|