Question about using variables to skip future slides
Hello...first time poster here. I didn't see this particular situation addressed before so here goes. Using Storyline 360, which is up to date.
I have a drag-and-drop interaction set up, and the user has 2 tries to get it right. This serves as a kind of pre-test to get them into the content; it's not an actual graded quiz.
Regardless of the outcome (right/wrong), they will go onto the immediately following content slides.
At the end of that content (several slides), the drag-and-drop reappears for them to retry. I want the retry (and the results slide that appears if they get it wrong) to ONLY appear if they did not get the interaction correct on the first try, several slides before. No need to re-do if they already did it right!
On the "pre-test" slide, I have set up a variable on the "you're correct" layer that changes the value to "true" if the learner clicks the "continue" button on that layer, which only appears if they are right.
There's also a variable on the "sorry" layer that displays if they are wrong for the second time that changes to "false" when the learner clicks "continue" on *that* layer.
I then added a trigger on the slide that comes before the retry slide that says to jump to the content slide that follows the retry slide if the variable is set to true--they passed the interaction--when they click the "next" button.
There's also a trigger on that slide that says go to the retry slide when "next" is clicked if the variable is set to "false"--they were wrong.
But--it's not skipping the retry slide if they got the interaction correct the first time.
Perhaps my variables are set incorrectly, or the triggers. Missing conditions? Maybe it's not possible to create a variable on a layer that affects navigation later in the scene?
Any pointers/solutions would be appreciated!