Creating Conditions for advancement & Delayed changes to button states
Mar 16, 2015
Hi all,
I've been working on a teaching module and found you all so helpful the last time I had a question that I thought I would ask you again. This time I actually have 2 questions:
1) Is there a way to prevent someone from advancing to the next slide until they have revealed all (or a subset) of layers? I have these diagrams of the human body and when you hover over the certain areas, layers appear that tell you more about that particular body part/system. I want to make sure that the students are getting everything to appear before they move on. Is there a way to prevent them from clicking the next button if some of the layers are still hidden?
2) I have a sort of "Table of Contents" page at the beginning which has shortcuts to all of the different sections which are buttons that say "Case 1," "Case 2," etc. until the student has clicked on them, at which time they change to "More interesting text" that is related to the topic they are learning about. The problem is that the name changes just slightly before it takes them to the next slide. I don't want that to happen because that gives away the answers to some questions they have to answer after they click on the button. Is there a way to make that change not occur until after the user returns to the slide?
15 Replies
Hi Holly -
The good news is there's not A way to prevent someone from advancing, there are a LOT of ways. :-) It sounds like the learner can hover over the areas in any order they choose, so that imposes one limitation on us, so the best approach might be to set a variable each time the learner hovers over an object.
Hope this helps.
Chris
Oh... and your second issue... I assume you have two triggers for each button, one to change its state and one to navigate to the appropriate section? Swap the order of those triggers and see if that makes a difference.
Chris
Hi Holly,
It looks like Chris has you mostly covered here - but in regards to your second issue if you swap the trigger issue the state change may not have a chance to take effect. Have you looked at using the "visited" state assigned to these images/textboxes? It'll work as described here.
Ashley and Cole,
For the second issue, I had initially been using the "visited" state for my buttons without a trigger. I actually followed Chris's suggestion and made a trigger for change of state, putting it second, after jump to slide. It worked brilliantly for the "Case 1" and "Case 2" buttons but for the remaining 7, the words on the button still changed before it navigated to the appropriate slide. I made sure that everything was the same with all the buttons so I can't explain why those are behaving differently. On returning to the slide, everything looked right and the buttons that had been clicked (including 1 & 2) had the more interesting text. Any other suggestions?
Working on 1st issue now. Will let you know how that goes.
Thanks!
Holly
It looks like the slightly messier solution that Chris proposed for my first issue is going to work perfectly. Although it's gonna be kind of a pain to set up as it'll mean creating close to 200 variables with triggers for each...yikes!
Oh well. Thank again!
Hi Holly,
I'm glad you've got at least one figured out - and if you'd like to share a copy of your .story file (even just that couple of slides) so that we could take a look at the buttons you set up and how they're states are changing/or not.
This post was removed by the author
Ok, hopefully 3rd time's the charm. I super-slimmed it down this time.
Hi Holly.
Regarding your second issue, you said "It worked brilliantly for the "Case 1" and "Case 2" buttons but for the remaining 7, the words on the button still changed before it navigated to the appropriate slide. I made sure that everything was the same with all the buttons so I can't explain why those are behaving differently. "
Yes... that is an issue. A few weeks ago some of us worked through this same thing with someone else. Unfortunately I don't think there is anything that can be done with it. Here is the thread where we were discussing it:
https://community.articulate.com/discussions/articulate-storyline/problem-with-trigger-for-visited-state
Sorry.
Chris
But here is another approach for issue 2 which will work ok I think. More variables... :-)
This works because when the learner returns to the menu slide, even though the menu slide doesn't replay (you have Resume Saved State turned on), Storyline still triggers a timeline start event, so the slide trigger will change the state of the menu button when they return to the menu page. If you are using Resume, then the state of the buttons should stay the same as well if the learner leaves the lesson and then resumes at a later time.
Chris
Yes! Brilliant, Chris! Thank you so much. I never in a million years would have figured this out on my own. Thank you, thank you, thank you!
Glad Chris got you figured out Holly and thanks for the update.
Thanks Chris Cole! I was trying to do something like this and it was just not working. I thought that by setting the slide to Resume, the timeline did not restart. But now I see that is restarts, but it doesn't reset. THANK YOU!
Glad that this older thread was able to assist you Mary Ann and thanks for the update.
Glad it helped Mary Ann. And Holly, sorry for not responding to you. For some reason I didn't receive a notification of updates to this thread until Ashley responded today. Anyway, glad it worked out for everyone.
No worries Chris, and glad you were able to pop back in!
This discussion is closed. You can start a new discussion or contact Articulate Support.