28 lines
909 B
Plaintext
28 lines
909 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.GetStage() <= 45) && (NQ_G_02.GetStage() >= 35) && (akActionRef == PlayerREF)
|
||
|
NQ_G_02.FadeOut()
|
||
|
ElseIf (NQ_G_02.GetStage() > 45)
|
||
|
Self.Activate(Game.GetPlayer(), true)
|
||
|
Endif
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
;=====================================================================================
|
||
|
; PROPERTIES
|
||
|
;=====================================================================================
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
|
||
|
_00E_NQ_G_02_Functions Property NQ_G_02 Auto
|