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.
20 lines
468 B
20 lines
468 B
Scriptname _00E_FS_EnvironmentScene02Trigger extends ObjectReference
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
|
|
|
if akActionRef == PlayerREF && !bDone
|
|
if FS_EnvironmentScene02.GetStage() == 0 && (CQJ04.GetStage() >= 35 || !CQJ04.IsRunning())
|
|
FS_EnvironmentScene02.SetStage(5)
|
|
bDone = true
|
|
Self.Delete()
|
|
EndIf
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
bool bDone = false
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Quest Property FS_EnvironmentScene02 Auto
|
|
Quest Property CQJ04 Auto |