How to track current and previous slider value

Jul 13, 2018

Hi Guys,

Need help :(

I've found this amazing tutorial in Youtube about creating parallax (with states) in Storyline. But unfortunately I found no clear solution.

I already know how to track the current slider value. My concern now is how to track the previous slider value. I need this to change the state of my character to "walk right" or "walk left" (negative and positive value). Please see tutorial below.

https://www.youtube.com/watch?v=9HIA38oAtT4

Looking forward to your help.

Thank you all in advance.

 

2 Replies
Ben McKenna

Setup a separate variable to inherit the value of the Slider variable whenever it changes. Storyline fires triggers in the order they appear in your trigger window, so you want to re-arrange your triggers so that the direction is determined AFTER the slider moves, but BEFORE you overwrite the comparison variable.

See this example:
https://360.articulate.com/review/content/5a0b38b4-5a26-44fe-b94f-13340c823bf8/review

I've also attached the .story file so you can see the order of the triggers.

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