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.
|
|
|
Scriptname _00E_FS_EnvironmentScene02Trigger extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
|
|
|
If akActionRef == PlayerREF && FS_EnvironmentScene02.GetStage() == 0
|
|
|
|
Int CQJ04Stage = CQJ04.GetStage()
|
|
|
|
If (CQJ04Stage < 10 || CQJ04Stage >= 35) && (CQJ04_SC01_JesparInRedLantern.IsPlaying() == False) && AllowIdleChatter.GetValue() > 0 && (bDone == False)
|
|
|
|
bDone = True
|
|
|
|
FS_EnvironmentScene02.SetStage(5)
|
|
|
|
Self.Disable()
|
|
|
|
Self.Delete()
|
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Bool bDone = false
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
Quest Property FS_EnvironmentScene02 Auto
|
|
|
|
Quest Property CQJ04 Auto
|
|
|
|
Scene Property CQJ04_SC01_JesparInRedLantern Auto
|
|
|
|
GlobalVariable Property AllowIdleChatter Auto
|