SL2 Set object's state to value of variable
Mar 06, 2017
Hi everyone,
I have a slider and button interaction and 9 objects with states numbered 1 to 6. What I am trying to do is change the state of the object based on the slider's value. However what I don't want to do is have individual triggers for changing the state. The reason for this is that I'd have to add 54 (9*6) triggers!
So really what I'm looking for is the ability to take a value from a variable and change a state based on that. Currently I see no way of doing that.
For those interested, the slider moves a little person along the horizontal of the screen, there are buttons which decrease/increase the light on the person. As they are moved from the light they get slightly darker, which is when they push the buttons. Hopefully this helps put the picture into your head as to what I'm trying to achieve.
Thanks,
Pete
5 Replies
Hi Pete
might be easier for someone to help you if you can share the .story file or even just that slide
Other than using triggers, there is no other way to change the state of an object.
Thanks for the direct reply Michael, this is quite disappointing and limiting for more advanced interactions. I would submit a feature request but they've already moved onto Storyline 360.
I agree, it would be nice to have a trigger that does something like "Change state of object=<value_of_variable>. That would allow to have one trigger instead of a bunch of triggers. This hasn't changed in SL360.
That's exactly what I need! Shame they haven't implemented it into 360. Thanks for your help.
This discussion is closed. You can start a new discussion or contact Articulate Support.