2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_CQJ01_DancingNomadSC extends ObjectReference
|
|
|
|
|
|
|
|
Event OnTriggerEnter (ObjectReference akActionREF)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If akActionREF == PlayerREF && (CQJ01.GetCurrentStageID() >= 10) && !(CQJ01.IsCompleted())
|
2021-10-05 22:15:58 +00:00
|
|
|
If !CQJ01_SC01_DancingNomadScene.IsPlaying()
|
|
|
|
CQJ01.EnableAcquaintanceAndStartSC01()
|
|
|
|
EndIf
|
|
|
|
Elseif CQJ01.IsCompleted()
|
|
|
|
Self.Delete()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
If (akActionREF == PlayerREF) && (CQJ01.GetCurrentStageID() >= 10) && !(CQJ01.IsCompleted())
|
2021-10-05 22:15:58 +00:00
|
|
|
If CQJ01_SC01_DancingNomadScene.IsPlaying()
|
|
|
|
CQJ01_SC01_DancingNomadScene.Stop()
|
|
|
|
EndIf
|
|
|
|
Elseif CQJ01.IsCompleted()
|
|
|
|
Self.Delete()
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
|
|
|
|
_00E_CQJ01_Functions Property CQJ01 Auto
|
|
|
|
|
|
|
|
Scene Property CQJ01_SC01_DancingNomadScene Auto
|