Time for action – triggering a sequence
In this example, we will use a simple Flow Graph to trigger a cutscene when a player walks into a certain trigger.
You must have a level open that has a previously saved Track View sequence in it.
If you have already completed the Animating a camera in Track View and Creating a new Track View sequence sections covered earlier in the chapter, then you can use the my_first_cutscene
sequence to build onto.
Click-and-drag a proximity trigger into the level. This can be found under the entities/triggers section in the Rollup Bar.
Once you have added the trigger to the level, set the trigger bounds to be big enough to trigger when the player enters it. Good values are as follows:
DimX Value="5" DimY Value="5" DimZ Value="5"
Next, right-click on the proximity trigger and create a Flow Graph on it, as shown in the following screenshot:
Name the Flow Graph
cutscene_trigger
. Next, let's create a Flow Graph to handle the triggering logic.Add the proximity trigger itself...