State changes trigger on conditions of multiple state changes

Hi There, 

I am intentionally limiting advancement to the next slide by using a pair of change state triggers on the next button. The trigger "next button to normal" is conditional on 4 shapes changing state to "visited". 

When I preview the shapes all change to state Visited, but the next button doesn't change state to normal. I need help identifying what  am I missing here. 



9 Replies
Raymond Scholl

I was able to achieve the desired effect by using a variable (True/ False) set to false at the start of the timeline and then changing to true when the shapes were visited. Which is great. 

But I don't understand why the fist pass at this didn't work with a condition set up on a state change trigger. 

Ashley Terwilliger

Hi Raymond,

What you described sounds right - so it's hard to say for certain what was throwing you off without seeing your .story file! 

With your permission, I'd like to take a look at your project file to investigate what's happening. You can share it publicly here, or send it to me privately by uploading it here. 

I’ll delete it when I’m done troubleshooting. 

Leslie McKerchie

Hi Raymond, 

Thanks for sharing your file so that we could take a look.

I noticed that the trigger you were using was based upon 'when the timeline starts', but closing slide layers does not cause the base layer timeline to restart, so the program was never looking for your new trigger. 

I'm glad that you've already resolved it for yourself, but just thought I'd help understand the 'why' behind it.

Also, I'm attaching your project file. Take a look at slide 2 for another alternative without creating a new variable as you did :)

Hope that helps!

Ted Nunes

Hi. I'm working on a similar interaction using states but I have a variation that's causing problems.

I have a submit/next button that should only jump to the next slide when certain buttons are Selected and other incorrect buttons are Normal. (basically a custom multiple select interaction.)

- If only some the "correct" buttons are Selected it won't advance (how it should work).
- If all of the "correct" buttons are Selected it advances (also good).
- If all of the "correct" buttons plus ANY of the "incorrect" buttons are Selected it advances (not good).

Have I uncovered a bug* or shortcoming, or can someone tell me what I'm missing?

*i.e. it appears that the conditional trigger ignores testing for a mix of states; it only judges which shapes are selected.

I can make it work by using custom variables instead of testing for Normal states in the condition but that's a hassle (and a shame) when it seems like it's so close to working using the states.

Thanks. ~Ted