enderalse/source/scripts/_00e_nqg02_doorsc.psc

31 lines
886 B
Plaintext

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