4
Fork 0
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.
 
 
 

38 lines
1.1 KiB

Scriptname _00E_Ark_TempleDoorSC extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnCellAttach()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If Self.IsActivationBlocked()
if akActionRef == PlayerREF
if MQ03.GetStage() >= 10
Self.BlockActivation(False)
Self.Activate(PlayerREF, true)
Else
CapitalCity_Temple_FrontGuardREF.Say(GuardDialogue_TempleGateTopic)
EndIf
Else
Self.Activate(akActionRef, True)
EndIf
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Quest Property MQ03 Auto
Actor Property PlayerREF Auto
Actor Property CapitalCity_Temple_FrontGuardREF Auto
Topic Property GuardDialogue_TempleGateTopic Auto