Triggering a layer from several optional slides - only once

Hello, I'm working on some gamification for our course. Throughout the course there are several tests. Every results slide contains a 'review answers' button. All of those buttons set the same boolean variable to True, and that variable triggers the appearance of a badge on the statboard. 

Our intention is to have some sort of notification. This notification is currently in the form of the badge popping up and moving into the top bar of the player (where the stats board is), and button appearing below it saying "new badge!" (the button also leads to the stat board). For other badges, it was easy to execute as there was one possible slide it could happen on, and if the variable was true, the slide would show said layer.

The trigger i set up on the slide is to show layer (badge notification) when a variable(eligible) changes, if eligible=true.

Sorry for the amount of information, but it wouldn't be clear otherwise I imagine. The question:

How can I set up something similar for when a user reviews a quiz? If it happens on the results slide that doesn't help, as that button navigates back in to the quiz.

5 Replies
Michael Hinze

I assume the Stats board is a separate slide (?). In that case, the 'show layer (badge notification) when a variable(eligible) changes, if eligible=true' wouldn't execute because the 'variable(eligible) changes' optin is limited to the slide where the change actually happens. Try changing the trigger to 'show layer (badge notification) when timeline starts, if eligible=true' and set the slide properties to Reset to Initial State.

Erez Goren

Hey Michael,

Thanks for your help!

Actually the notification is a layer on the results slide, and that's where it should occur (I'm trying to encourage self navigation through the course).

What you suggested seems like once he's eligible, anytime the user would visit that results slide, he would get that notification. It needs to happen only once. I actually managed to get it done but with a single (deal-breaking)loose end. When I click the review button, It takes me through the test, and only when I come back, the notification occurs (excellent, exactly what we wanted) except in addition to the visuals and the sound playing, there's also the audio cue for failed/passed layers (which ever one was there before we went to review).

Any ideas?

Erez Goren

Hey Michael,

Actually I used the solution listed here and it works wonderfully.

*After doing this, I realized the variable needs to be set in the same manner for the "retry quiz" button in order to hear the sound for results for the new attempt.

Also the variable should be reset before each quiz to guarantee behavior as expected. 

Michael Hinze
Erez Goren

Hey Michael,

Actually I used the solution listed here and it works wonderfully.

*After doing this, I realized the variable needs to be set in the same manner for the "retry quiz" button in order to hear the sound for results for the new attempt.

Also the variable should be reset before each quiz to guarantee behavior as expected. 

Great to hear that you figured it out on your own! Good luck with your project.