4
Fork 0
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.
 
 
 

28 lines
936 B

Scriptname _00E_NQ_G_02_TrapDoorStartScene extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnLoad()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If (NQ_G_02.GetCurrentStageID() <= 45) && (NQ_G_02.GetCurrentStageID() >= 35) && (akActionRef == PlayerREF)
NQ_G_02.FadeOut()
ElseIf (NQ_G_02.GetCurrentStageID() > 45)
Self.Activate(Game.GetPlayer(), true)
Endif
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor Property PlayerREF Auto
_00E_NQ_G_02_Functions Property NQ_G_02 Auto