Triggers and Variables Help

Apr 09, 2021

I've been searching and searching the discussions here about variables and triggers and have yet to find exactly the answer that matches what I am trying to accomplish in my course. I would like for users to be taken to a (knowledge check) slide after visiting certain slides. I have set up a variable for each slide to false and then set a trigger on that slide to change that variable to true when the timeline starts on that slide. Then, I've set up a trigger to go to that slide on the condition that each of the other slides have been visited (the variable changed to true). It's not working. What am I missing in setting this up to happen? Thank you for any help! Please find my attached scenario. Amber

2 Replies
Maria Costa-Stienstra

Hi, Amber. 

Thank you for sharing your .story file! I'm happy to help!

The order of triggers is very important. If you look at one of your hotspots, this is what you have set up:

Windows 10 (1) 2021-04-09 at 9.20.06 AM

When the user clicks the hotspot, the first thing that happens is they go to 1.2, so the next trigger is never considered. If you move the bottom trigger to the top in all your hotspots, it should work as expected.

Let me know if this works!

Amber Price

Maria ~ Aha! Perfect! It is working now. I always think the order of my triggers has to match the path the user will take in the course, but that's what the conditions are for--in keeping that action from happening unless certain conditions are met. Thank you so much for the help! Amber