30 lines
695 B
Plaintext
30 lines
695 B
Plaintext
Scriptname _00E_MQ11a_CaliaQuarterDoorScript extends ObjectReference
|
|
|
|
Event OnInit()
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
EndEvent
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
; if (akActionRef == Game.GetPlayer())
|
|
; if (MQ11a.GetCurrentStageID() == 80) && !(Game.GetPlayer().IsInCombat()) && !Done
|
|
; MQ11a.SetCurrentStageID(85)
|
|
; EndIf
|
|
; EndIf
|
|
|
|
if (akActionRef == Game.GetPlayer())
|
|
if (MQ11a.GetCurrentStageID() == 100) && (Game.GetPlayer().GetItemCount(_00E_MQ11a_DalGalarQuarterKey) >= 0)
|
|
BlockActivation(False)
|
|
Self.Activate(Game.GetPlayer(), True)
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
bool Done = False
|
|
|
|
Quest Property MQ11a Auto
|
|
Key Property _00E_MQ11a_DalGalarQuarterKey Auto |