Delaying state change by a fixed time
Jan 27, 2016
By
Paul Meyer
Hey everyone.
I'm working on an interactive menu in Storyline 2, and I have 5 different menu items that appear as needed. The way I'm doing it now is that I trigger a state change in the next item that I want to appear in the menu when the previous one's state changes to "Visited". This essentially works, but when the user clicks on the first item to navigate away from this page, the next item shows up immediately upon mouse up. This is functional but the button appearing right before the page changes is very distracting. Is there a way to delay the arrival of that new, state-changed, button for long enough for the page to change, so when they return to that page it's there but they don't see it appearing?
15 Replies
Hi Paul
instead of using the inbuilt visited state duplicate the visited state call it 'completed' or some other custom name and update your triggers using this new state.
I think Wendy exited before she got finished. Add this:
When the user leaves the visited page, set a variable.
When the timeline of the menu page starts, set the button to completed state and the next button to normal state is the variable is true.
Visited state is designed basically for the page it is on, but is less reliable if you visit other pages and come back. That's why lots of us use the variable approach.
Thanks Walt, I'll look into that. I haven't really used variables so this is a learning opportunity for me. :D
Hi Paul! Just wanted to pop in and share a tutorial that may be of assistance if you're just getting started with variables.
Hello
I wondered if i could ask a question about this, I have managed to add a completed state to my button but only when i click the next slide, I require this to become completed when they finish 8 or so slides later. any ideas how i do this
Thanks
Hi Pete
if i understand correctly
1. you could create a T/F variable default it to false.
2. on slide 8 add a trigger to adjust variable to true when timeline starts on slide 8
3. back on the slide with the button add a trigger change state of button to completed when timeline starts on slide with button on condition that variable is = true
Thanks for this, i cant seem to get it to work, i didn't know if its because the button i want to signal the completion of the section is in another scene
Thanks
Is there a .story file that you'd like us to take a look at Pete?
Hi
Thanks for getting back to me, i eventually found out i had a small error and all works now. Thanks for your help
Pete
Great news Pete! Thanks for popping in to share.
I know this thread is a little old, but I am having this same issue. I have very limited experience with variables, and I am having trouble understanding the solution offered. I have created a "menu" slide with four buttons. I need the user to visit three of the buttons before the last one appears, but I don't like that the button appears upon the mouse release as the user leaves the slide after clicking the third button. It sounds like variables will fix this, but I don't understand how. Any help from the collective brain would be much appreciated.
Try this sample. It sounds like either the mixed or restricted option is what you want.
Remember, variables are just like sticky notes you leave your roommate so when she gets back to the room, she will know what time you left for lunch.
Thank you so much, Walt! I will see if this helps me get it ironed out. I love the analogy, and I honestly didn't understand what purpose variables served, so this is really helpful.
Between Walt's info and another thread on a similar topic, I got my problem solved. Thank you!
Great news Rebecca! Thanks for chiming in with an update :)
This discussion is closed. You can start a new discussion or contact Articulate Support.