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.
30 lines
668 B
30 lines
668 B
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 |