Conditional Targets

Conditional targets allow you to change the settings of an event transition depending on the value of a User Variable. You can set multiple conditional targets for a single event, and you can specify new commands to occur when the conditional target is met. With this feature, you can change the behavior of a presentation based on a wide array of interactive and networked conditions.

Note

Conditional Targets are only available if you have created one or more User Variables in the File > Presentation Properties > Variables window.

Follow these steps to add a conditional target to an event:

  1. Select the Advanced tab while creating or editing an event.

  2. Click the Set Conditional Targets button.

  3. Click Add Conditional Target in the Conditional Targets window (you can also click a preexisting Conditional Target to edit it).

  4. In the first dropdown menu, select the User Variable that will trigger the Conditional Target.

  5. In the second dropdown menu, select the conditional operator that will compare the current value of the variable against the value set in the field to the right. The transition behavior and Commands you specify in this window will only occur when the entire statement—the variable, the operator, and the target value—is true. These are the conditional operators that are currently available:

    1. Between

    2. Less than (<)

    3. Less than or equal (<=)

    4. Equals (=)

    5. Greater than or equal (>=)

    6. Greater than (>)

  6. Determine what will happen if the Conditional Target is met:

    1. Transition to new state: The presentation will transition to a new state. Use the dropdown list to specify a new state.

    2. Return to prior state: The presentation will return to the previous state.

    3. Remain on current state: The state will not change.

  7. Select the Advanced tab to add Commands to the Conditional Target. Commands will trigger when the target is met. See the Commands page for more information.

  8. Click OK to save the conditional target.

Note

In the target value field, you can enter either a fixed integer or the name of another user variable (e.g. “when Variable A is equal to 42” or “when Variable A is equal to Variable B”). For user variables, you must enter the name of a target variable between two sets of dollar signs (e.g. “$$my_variable$$”).