Use some boolean variables to check off the items on the checklist
In Tutorial 11, you created a checklist as a guide for the learner. By default all of the boxes on the checklist are unchecked. We need a way to check the items off of the list as they are completed, without needing to build a new list each time.
Step 1: Create Variables for Each List Item
You may have noticed the atom icons beside each field label in the resources .
To create three boolean variables that represent "checked" or "unchecked" for each list time, we will click on the atom icon beside each "checked" field:
When you're finished you should have three variables created. For this tutorial we have called them "employee greeted", "specific feedback given", and "solution suggested".
Save and test. There should be no change yet!
Step 2: Make the Variables Global
We need to be able to use these newly created variables in other scripts. In order to that, they need to be "global" variables. Navigate to the "Variables" tab in the tools panel. You will see your three new variables there.:
Click on the ellipses menu of each variable and choose "edit". You will see a setting there to change the variable to "Global"
Step 3: Set the Variables to "True" at the Right Points in the Scenario
Open the "Conversation" script. Navigate to the frame that opens after the learner invites the employee to sit down. At this point, the "employee greeted" variable should be set to true.
Drag the "employee greeted" variable into the frame :
Set the value of the variable to true (or checked).
Save and test. Now, after you invite the employee to sit down, you should see the corresponding list item is checked.
Step 4: Set the Other Booleans to "True" at the Appropriate Times in the Scenario
Set "specific feedback given" and "solution suggested" to true when they have been completed.
Watch this video if you need guidance:
In the Headset
This is how your scenario will look so far: