Trouble Tracking Object States and Variables

Feb 12, 2020

Hello! I'm creating a follow-up game in Storyline 360 and am having trouble with object states creating a loop of sorts when a slide is revisited. I've attached the .story file.

The slide in question is 1.3. On this slide are 11 objects, designed as yellow buckets, that, when clicked on, will present the user with either a reward or a question. (What comes from the bucket is determined by a JavaScript variable set on the previous slide.) The first bucket on the far left is not affected by the JavaScript variable and will always present a Pick One quiz, so I've been testing the course using that one.

My intention is for users to click on the object, which will trigger a layer and short animation before auto-advancing them to the quiz slide. After answering the quiz, users will be returned to the game board (slide 1.3), where the object they previously chose will be in a Completed state and unable to be selected again.

What is happening, however, is that once returning to the game board (slide 1.3) from the quiz slide, the object they previously chose is essentially being reselected, triggering the layer animation and taking them back to the quiz slide they just answered. I have tried using a True/False variable to force set the object's state upon returning to the slide, but that hasn't made a difference. Additionally, changing the When Revisiting option on the slide properties hasn't made a difference either.

I've been looking at this for hours with no luck, so I'm looking for any and all ideas on how to correct this issue and get the intended behavior. Thanks!

2 Replies

This discussion is closed. You can start a new discussion or contact Articulate Support.