Variable problems!
Mar 11, 2015
By
Greg Arthur
Hi all,
I'm having a bit of a nightmare with a variable.
Basically, I want to create a custom schedule for each user. I have a full schedule laid out and for each session there is a separate layer with session info. On that layer is a button to add this to their own personalised schedule.
I have created a variable to set each of the sessions to be hidden on a separate slide (all set to false). Once the button is clicked, it should obviously change the variable to true. Another trigger is set to change the state of the hidden box to the normal state once the button has been pushed. However, it's not working, and it's driving me crazy!
Any help would be brilliant! :-)
Thanks,
Greg
7 Replies
HI Greg
do you want to upload the story file - easier to help if we can see the setup. What version of SL are you using?
Hi Wendy, I can't upload because the content is work-confidential apparently. However, I just need to know if my variable setup is incorrect.
From what I can see, it should be correct? Is it because I'm in preview mode?
My variable is set as:
1. True/False - default value is false
2. The button within the layer on the main schedule has a trigger to set the variable equal to true when the user clicks
3. On the custom schedule slide, the particular shape that is currently hidden as it's initial state, should change state to normal (which means you'll see it) when the variable changes if it's equal to true.
I've run that a few times, and no luck at all.
Hi Greg
could be the order of triggers - hard to say. See attached sample if this is what you are trying to achieve
Hi Wendy, thank you, but not quite :-)
I've got two slides (1 & 2 we'll call them).
Slide 1 has a few layers - a, b, c.
Slide 2 has a few shapes - a, b, c - but no layers.
I want to be able to show the various shapes on slide 2, only if they choose to select them on slide 1.
Sorry I can't share the actual project with you, but I'm re-working it all, and it looks like I've followed it correctly from the various videos and tutorials.
Gave it another shot based on your explanation - hope this helps
YES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :-)
Thank you so much Wendy :-)
Glad it worked for you
This discussion is closed. You can start a new discussion or contact Articulate Support.