enderalse/scripts/source/_00e_nqg02_doorsc.psc

31 lines
877 B
Plaintext
Raw Normal View History

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.GetStage() < 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