2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_Ark_TempleDoorSC extends ObjectReference
|
|
|
|
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnCellAttach()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
If Self.IsActivationBlocked()
|
|
|
|
if akActionRef == PlayerREF
|
2024-01-10 14:08:24 +00:00
|
|
|
if MQ03.GetCurrentStageID() >= 10
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|