2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_NQ_G_02_TrapDoorStartScene extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
Event OnLoad()
|
|
|
|
|
|
|
|
Self.BlockActivation(True)
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If (NQ_G_02.GetCurrentStageID() <= 45) && (NQ_G_02.GetCurrentStageID() >= 35) && (akActionRef == PlayerREF)
|
2021-10-05 22:15:58 +00:00
|
|
|
NQ_G_02.FadeOut()
|
2024-01-10 14:08:24 +00:00
|
|
|
ElseIf (NQ_G_02.GetCurrentStageID() > 45)
|
2021-10-05 22:15:58 +00:00
|
|
|
Self.Activate(Game.GetPlayer(), true)
|
|
|
|
Endif
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
_00E_NQ_G_02_Functions Property NQ_G_02 Auto
|