Enderal SE https://mod.pub/enderal-se/38-enderal-se
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
909 B
28 lines
909 B
3 years ago
|
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
|