2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_FS_EnvironmentScene02Trigger extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
2024-01-10 14:08:24 +00:00
|
|
|
If akActionRef == PlayerREF && FS_EnvironmentScene02.GetCurrentStageID() == 0
|
|
|
|
Int CQJ04Stage = CQJ04.GetCurrentStageID()
|
2024-01-09 22:00:18 +00:00
|
|
|
If (CQJ04Stage < 10 || CQJ04Stage >= 35) && (CQJ04_SC01_JesparInRedLantern.IsPlaying() == False) && AllowIdleChatter.GetValue() > 0 && (bDone == False)
|
2021-10-05 22:59:59 +00:00
|
|
|
bDone = True
|
2024-01-10 14:08:24 +00:00
|
|
|
FS_EnvironmentScene02.SetCurrentStageID(5)
|
2021-10-05 22:59:59 +00:00
|
|
|
Self.Disable()
|
2021-10-05 22:15:58 +00:00
|
|
|
Self.Delete()
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
2021-10-05 22:59:59 +00:00
|
|
|
Bool bDone = false
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
Quest Property FS_EnvironmentScene02 Auto
|
2021-10-05 22:59:59 +00:00
|
|
|
Quest Property CQJ04 Auto
|
|
|
|
Scene Property CQJ04_SC01_JesparInRedLantern Auto
|
2024-01-09 22:00:18 +00:00
|
|
|
GlobalVariable Property AllowIdleChatter Auto
|