enderalse/source/scripts/_00e_mq11a_caliaquarterdoorscript.psc

30 lines
668 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ11a_CaliaQuarterDoorScript extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
; if (akActionRef == Game.GetPlayer())
; if (MQ11a.GetStage() == 80) && !(Game.GetPlayer().IsInCombat()) && !Done
; MQ11a.SetStage(85)
; EndIf
; EndIf
if (akActionRef == Game.GetPlayer())
if (MQ11a.GetStage() == 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