Optional Scenes
Optional scenes are scenes that are play only if a condition is met. Conditions are variables, like the variables you use in Dynamic Movies. Variables get the value from parameters you specify when you request a video. A condition can be a test if a variables value is empty or not empty.
The scene's audio is provided either by the movie or video, or it can be specified seperately. See Static Scenes and Working with Audio for more information.
To add an optional scene
- Select the Dynamic Story in the list view
- Click playlist_addAdd Scene in detail view
- Optionally, enter a name
- Select one of the optional scene types.
- Play when parameter value is not empty
The scene is played when a parameter exists in the render request and is not an empty string.
- Play when parameter value is true
The scene is played when a parameter exists and evaluates to a true value, e.g. "true", "True", or "1".
- Play when parameter value is false
The scene is played when a parameter exists and evaluates to a false value, e.g. "false", "False", or "0".
- Enter the name of the parameter that controls whether or not this scene is played.
- Click Add to add the scene to the story