Using track events
This recipe will take you through setting up and using track events in the Track View editor.
A track event is a one-way signal that will allow you to branch Flow Graph logic from a Track View sequence.
Each sequence may define any arbitrary number of track events, which can be called at any time from a Track Event node. Each event may also carry with it a string value assigned to the key in the Track View editor. When a track event is triggered from the sequence, its corresponding output port in a special Flow Graph node is activated, allowing you to branch Flow Graph logic very easily.
Getting ready
For this recipe, we will add some track events to the Track View sequence created in the first and second recipes of this chapter. These two recipes must be already created to go forward.
You should have the cut-scene my_first_cutscene
open in the Track View and your view set to that of the camera.
How to do it...
First we must define some track events (track events may be defined...