Trouble with states and variables
Sep 23, 2013
Hello all,
I am trying to require that all 9 layers are selected from 9 buttons on a slide and then use a true false variable to automatically advance to the next slide upon completion.
I have the variable set to false with a trigger to set to true when all nine buttons have been visited and another trigger to advance to the next slide when the variable is set to true. It isn't working!
I also set visited for each custom button and in the preview it is not showing that all buttons have been visited although triggers have been set when they are clicked as well.
Any ideas?
8 Replies
Melanie;
Tough to troubleshoot without seeing it as trigger order as well as the correct triggers can change the action.
If you are able to post the file I am sure someone will be able to help you.
Tim
Hi Melanie! Looks like Tim is trying to assist you here, so if you could share your .story file here that would be helpful or you can share it here privately.
Hi, and thanks for any help or ideas you can provide for me. Here is a modified version of the file. I have tried multiple changes in the triggers, and I have used true/false variables to no avail!
Essentially I want to
Any ideas or help would be greatly appreciated!
Hi Melanie,
On your first slide the solution is to set the initial state on #7 to hidden, then use a trigger to change the state to normal when the states of 1-6 are visited. I made that modification in the attached file. If you still need help with your second question I'll take a look at that tomorrow.
Hope that helps!
Melanie, see attached a revised file with a few changes:
1. On the various layers I changed the trigger for the close button to hide the layer.
2. On the base layer, I set the initial state of the '7' button to disabled and changed the state so it looks greyed out.
3. On the baselayer, added a slide trigger that changes the state of the '7' button to normal if the states of all other six buttons are 'visited'
4. Set the properties of the pictogram slide's baselayer to 'Resume saved state' (that ensure that the visited states of the pictogramas are shown when layers are close)
Have a look and see if that's what you wanted to achieve.
Thank you so much Elizabeth and Michael!
This is so helpful! I was able to duplicate the first slide to do what I was hoping for. Michael, as for the properties where do I find that to make the adjustment? I think that it will adjust the other issue I am battling with as well, so I would appreciate any additional info you have to help me improve my skills.
Hi Melanie, you can adjust the 'Revisit' properties of a slide's baselayer by selecting the 'cogwheel' icon next to the baselayer's name.
Melanie, It seems that you have been well taken care of here
Thanks Michael and Elizabeth!
This discussion is closed. You can start a new discussion or contact Articulate Support.