Time for action – adding a Console Variable to a sequence
For this example, we will add some console commands to the Track View sequence created in the Creating a new Track View sequence and Animating a camera in Track View sections of this chapter. These two sections must be completed before going forward with the following example:
You should have the
my_first_cutscene
cutscene open in Track View and your view set to that of the camera.Right-click on the parent node of
my_first_cutscene
and select Add Console Variable as shown in the following screenshot:You will then be asked to name this Console Variable (CVAR).
Note
It is very important that you name the CVAR the exact name of the variable you would type into the console.
For this example, set the name to
e_TimeofDaySpeed
. You will see it added as a track to the parent node of the sequence.Next, create a key frame on the
e_TimeofDaySpeed
track. Set the value of this key frame to0.5
, as shown in the following screenshot:What this will now...