28 lines
936 B
Plaintext
28 lines
936 B
Plaintext
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 |