Conditions with variables
Nov 25, 2016
By
Kyna Harvey
Hi,
I have created two switches. Left on/off and right on/off. I would like the user to proceed to the next slide once one on and off have been visited (could be a left on and a right off or a right on and left off or right on/off or a left on/off etc..). I have a variable on each layer to change to true once the timeline starts. None of the conditions I have tried seem to work they way I need them to. Where do I go from here? I have attached the one slide for reference.
8 Replies
Have a look at the attached and see if that's what you wanted. I initially disable the Next button and enable it once either switch has been clicked.
unfortunately no..I can move ahead when only clicking on. They need to also click an off before being able to move ahead.
Hi Kyna. I think this should be fairly straightforward, but first tell me a little more about what the interaction should look like...
Regards,
Chris
This sample does what I think you want based on your description and the .story file. It enables the next button after the user has clicked one (or more) switch to the on position and returned it to neutral, and has clicked one (or more) switch to the off position and returned it to the neutral position, and in any order.
I think your problem with conditions comes from the fact that the easiest way to make this work is to combine AND and OR in conditions, and SL does not allow this.
Hi Walt,
Thank you that is what I needed. I didn't realize AND and OR didn't work that way. Good to know to avoid the frustration next time.
Chris,
I would like the buttons to work they way you described. As for the second bullet the answer is yes :)
Kyna,
My sample does what Chris describes.
It works perfectly thank you...I understand what you did as well...this has to be used tomorrow so it was good timing. I really appreciate the help!!
Thanks for the reply Kyna. Sounds like Walt has you hooked up. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.