Embed
Create a Collection
Update Collections
Steps to set a Page to evaluate a Custom Variable and when it equals the required value to trigger an Enable Next Player Control action.
In this use case, we have three buttons on a page and we want to know that all three have been selected before we allow the learner to leave the page. Before this lesson we set up actions so that as the leaner clicks each button a custom variable is increased by 1. Once all three buttons have been clicked the variable's value will be 3.
This lesson outlines how to set up the action to evaluate the variable's value and enable the next button once the value equals 3.
-
1Select the Interact tab.
Click the continue button:
-
2Select Triggers.
Click the continue button:
-
3In the Variables section, select More...
Click the continue button:
-
4To start, we'll set the Trigger (the event that needs to happen in order to enable the Next button). Select Variables.
Click the continue button:
-
5Select the Select a Variable drop-down list.
Click the continue button:
-
6Select the variable AllClicked.
Click the continue button:
-
7Select Ok.
Click the continue button:
-
8Since the Custom Variable is a number variable, the related set of options is now shown. Select Equal to.
Click the continue button:
-
9The Enter Value field is where you add in the value that you are checking for. For our example, we want to know when the AllClicked variable reaches a value of 3. Select the Enter Value field and we'll add in 3 for you.
Click the continue button:
-
10Select Next.
Click the continue button:
-
11Now that we've set the Trigger we need to set the Action that will be triggered (i.e., what will happen when the variable reaches 3.) Select Player Controls.
Click the continue button:
-
12Select Enable Next Button.
Click the continue button:
-
13Select Next.
Click the continue button:
-
14The Page Actions and Timings panel will open to the right of the Stage so you can confirm the settings that have been chosen. Select Apply.
Click the continue button:
-
15The action has been added. You will need to use the Full Project Preview to confirm that the action is working.
Click the continue button:















Comments ( 0 )
Sign in to join the discussion.