Forum Discussion

KristaJohnsonAw's avatar
KristaJohnsonAw
Community Member
3 years ago

Resetting variable from custom results slide

Hello! So...I have the results slide for a multiple choice quiz set up to display a checkmark for each correct answer and an X for each incorrect answer. To do this I've created a T/F variable that changes when the user encounters an "incorrect" question feedback layer.

The problem is, when you click the "retry" button on the results slide and answer the quiz questions again, it shows the checkmarks/Xs based on the FIRST time through and not the second time through.

I've already created a trigger to reset the relevant variables when the "retry" button is selected and I've made sure those triggers are above the "jump to next slide" trigger.

What am I doing wrong?

P.S. I've included a file with a sample scene that features the issue I'm talking about. As a reference, the correct answer to both of the two questions is "B."

Thank you!!

 

  • Hi, Krista.

    Thank you for sharing your .story file!

    On your Results slide, you have triggers that set the state of the icons to Incorrect, depending on the value of the Scenario1Incorrect and Scenario2Incorrect variables. However, you also need to create triggers that change the state of the icons back to Normal:

    Windows 10 (1) 2021-12-28 at 3.53.14 PM

    I'm attaching a copy of the edited .story file.

    I hope this helps!

  • @maria Thank you! I got it fixed now. It looks like another issue was that I had the triggers start when the timeline started on the objects rather than on the slide itself. 

    Thank you!