4
Fork 0
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.
 
 
 

31 lines
770 B

Scriptname _00E_CQJ01_DancingNomadSC extends ObjectReference
Event OnTriggerEnter (ObjectReference akActionREF)
If akActionREF == PlayerREF && (CQJ01.GetStage() >= 10) && !(CQJ01.IsCompleted())
If !CQJ01_SC01_DancingNomadScene.IsPlaying()
CQJ01.EnableAcquaintanceAndStartSC01()
EndIf
Elseif CQJ01.IsCompleted()
Self.Delete()
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
If (akActionREF == PlayerREF) && (CQJ01.GetStage() >= 10) && !(CQJ01.IsCompleted())
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