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.
|
|
|
Scriptname _00E_NQG02_DoorSC extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnLoad()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if akActionRef == Game.GetPlayer()
|
|
|
|
if NQ_G_02.GetCurrentStageID() < 20
|
|
|
|
_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
|