Overview
There are two types of “Conditional Transitions”.
- Rules that evaluate which transition to trigger as the Effect In play based on conditions within the scene itself.
- Rules that evaluate which transitions to trigger in other scenes on output at the time the current scene plays to output.
Prime uses its “Conditional Manager” to manage the logic.
Users can select an action from the list or select a Condition to evaluate which transition to play as the effect in.
Example: If the Title text is blank trigger Name ONLY Action otherwise trigger the Effect In Action.
Conditional Transitions: Advanced
Functions that allow evaluating the scene that’s on the output channel.
From the condition editor the following functions are available for use with Conditional Transitions:
Channel.IsSceneOnOutput(string sceneName) |
Returns true if there is another scene matching the given name on the current channel; the current channel is defined as whatever channel the scene executing the expression is on. This does not match the scene responsible for executing this function. The sceneName can include wildcards like the External Action Trigger work from earlier this year. |
Channel.IsSceneAndNameOnOutput(string sceneName, string layerExpression) |
Returns true if there is another scene matching the given name and layer restrictions on the current channel; the current channel is defined as whatever channel the scene executing the expression is on. This does not match the scene responsible for executing this function. The sceneName can include wildcards like the External Action Trigger work from earlier this year. |
Channel.IsDescriptionOnOutput(string description) |
Returns true if there is another scene matching the given description on the current channel; the current channel is defined as whatever channel the scene executing the expression is on. This does not match the scene responsible for executing this function. The description can include wildcards like the External Action Trigger work from earlier this year. |
Channel.IsDescriptionAndLayerOnOutput(string description, string layerExpression) |
Returns true if there is another scene matching the given description and layer restrictions on the current channel; the current channel is defined as whatever channel the scene executing the expression is on. This does not match the scene responsible for executing this function. The description can include wildcards like the External Action Trigger work from earlier this year. |
Channel.IsLayerOnOutput(string layerExpression) | Returns true if there is another scene matching the layer restriction on the current channel; the current channel is defined as whatever channel the scene executing the expression is on. This does not match the scene responsible for executing this function. |
Scene.Layer | Returns the layer of the current scene. |
Scene.Loaded | Returns true if the current scene is loaded. |
Scene.Playing | Returns true if the current scene is playing |
Scene.Name Scene.Description Scene.Locked Scene.Version and more... |
These have also been added. |
Examples:
Create some Effect In Conditions:
Hook up the “Effect In” as a “Condition”: