Forum Discussion
Create a button to reset the slide?
Hi,
I'm having huge problems trying to reset a slide, having used the new Slide.ElapsedTime built-in variable.
My slide has a series of layers and the user has to click on hotspots, to jump from one layer to the next, to complete an activity.
I've used the Slide.ElapsedTime variable, to measure how long it takes the user to complete the task. Once they hit a 'stop' button, I get Storyline to calculate the number of seconds taken on the slide, based on the Slide/ElapsedTime variable.
However, I have also included an option so that, if their time taken is greater than 60 secs, they can hit a 'retry' button, to try again and improve their time.
I have tried setting the Slide.ElapsedTime back to zero, when they hit the 'retry' button (and jump them back to the first layer and restart the timeline) - but Slide.ElapsedTime appears to ignore this and just keeps adding further, cumulative time to its value.
Instead, when the user hits the 'retry' button, I've taken the user to another slide (so therefore moving away from the initial Slide.ElapsedTime), then re-accessed the slide containing the timed activity. When the user re-enters the slide activity, I begin by defining Slide.ElapsedTime back to zero and restarting the Timeline... but no matter what action I take, the Slide.ElapsedTime refuses to be reset to zero when the user visits a second/third/fourth instance on the activity slide. Once the Slide.ElapsedTime starts clocking up a value, nothing appears to persuade it to reset, for a defined slide.
Help!!!!!
I really need to be able to achieve this reset - and I need a timer that will keep counting in a single sequence, across multiple layers on the slide. I can't use another option (e.g. to setup a master slide with a counter on two layers of the timeline) - because in doing this, my sound effects and visuals don't carry over in a single sequence, from one layer to the next.
I was really pleased to find the new Slide.ElapsedTime feature, initially - but the apparent inability to reset it - without restarting the entire project settings - seems a problem.
Any advice very welcomed.
I'm creating a complex gamification set of activities in my project and each successfully completed activity needs a timing, so I can then calculate a running score on a scoreboard. This is important, rather than a UI design preference - as I need to be able to demonstrate to senior managers that there has been a measurable improvement in user performance, as they work their way through a software simulation.
Many thanks!
Related Content
- 3 months ago
- 2 months ago