Your conditional trigger isn't re-running. Here's what's happening:
The slide shows the layer at 0.25 sec.
The layer is open when the user returns to the slide. Its Slide Layer Properties for revisiting are set to "Automatically Decide." The program's decision is to reset/replay the layer.
The solution is simple: adjust the Slide Layer Properties to "Resume saved state."
If you do that, you can also delete the condition on the trigger that opens the layer, and delete the trigger that changes the variable.
By the way, you can also delete all the triggers that change the buttons to Selected. Any object with a Selected state will automatically change to that state when the user clicks it.
Your original conditional trigger is not re-opening the layer. A layer doesn't close until there's a "hide layer" trigger (or until another layer opens with properties set to hide other layers). You don't have trigger to close the layer, so it's open when the user leaves the slide and remains open if the user returns to the slide.
Instead of the solution I described in my previous comment, another way to prevent the layer's audio from replaying would be to add a trigger that closes the layer when its audio completes, and use the conditional trigger to prevent it from opening again.
It really doesn't matter which solution you use. The learner's experience will be the same.
4 Replies
Your conditional trigger isn't re-running. Here's what's happening:
The solution is simple: adjust the Slide Layer Properties to "Resume saved state."
If you do that, you can also delete the condition on the trigger that opens the layer, and delete the trigger that changes the variable.
By the way, you can also delete all the triggers that change the buttons to Selected. Any object with a Selected state will automatically change to that state when the user clicks it.
Thank you so much! That worked!
Just for my understanding, is there a way to make the layer not open when the user returns to the slide?
Your original conditional trigger is not re-opening the layer. A layer doesn't close until there's a "hide layer" trigger (or until another layer opens with properties set to hide other layers). You don't have trigger to close the layer, so it's open when the user leaves the slide and remains open if the user returns to the slide.
Instead of the solution I described in my previous comment, another way to prevent the layer's audio from replaying would be to add a trigger that closes the layer when its audio completes, and use the conditional trigger to prevent it from opening again.
It really doesn't matter which solution you use. The learner's experience will be the same.
Thank you for explaining!
Got it. :)