2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQG02_DoorSC extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnLoad()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == Game.GetPlayer()
|
2024-01-10 14:08:24 +00:00
|
|
|
if NQ_G_02.GetCurrentStageID() < 20
|
2021-10-05 22:15:58 +00:00
|
|
|
_00E_NQ_G_02_DoorMessage.Show()
|
|
|
|
Return
|
|
|
|
Else
|
|
|
|
Self.Activate(Game.GetPlayer(), True)
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Quest Property NQ_G_02 Auto
|
|
|
|
Message Property _00E_NQ_G_02_DoorMessage Auto
|