Variable help, please
Feb 15, 2016
By
Jill Rashdi
Hello,
I've built an interaction where the learner has to drag n drop the correct menu item to the correct table. There are 6 people and six dishes. When all the dishes are delivered to the correct people, I would like a message to come up and say good job (or something like that) and give them a button to move on to the next challenge.
I tried creating a new layer and adding a trigger to show that layer when the variable for each table is True, but it didn't work.
Any ideas out there?
Thanks for your help!
Jill
7 Replies
Can you share your .story file here so that we can have a closer look?
Jill, there are many ways to do it. Base on your description, I guess you've already set six variables for six tables. In that case, you may add a number variable(initial zero). When a table turns to truth, the variable add 1. So whenever the variable changes to 6, show the layer you want.
Hi Jill,
See the attached demo. Very similar to Joanne's response, there are 6 true/false vars they turn to true if the correct object is dragged to the correct target. There is a count variable to detect when all objects have been dragged the submit button appears for the user to submit their responses. Ive added a simple tick/cross to illustrate the right or wrong layers.
Jill,
This is the easiest way for you to do this, no variables are needed. Because this is a drag and drop, just set up the "form view" with the correct drag items (plates) and drop targets (spots on the table in front of guests). Then go to the correct and incorrect layers and make your own feedback and continue button. To change the default feedback, right click on that layer and change the layout to blank and design it from there.
Joanne,
Thank you so much for your help. I never would have thought of adding a number variable. It worked!!
Hey Linda,
Thanks for your help. I was trying to find a way to get a response without having to click the Submit button. But, you're right... it would've been way easier if I skipped the variables!
Jill
Hey Darren,
Thank you so much for uploading that file. It helped me get clear on how to use the number variable. I was able to get it to do what I wanted. I love this community! :)
Jill
This discussion is closed. You can start a new discussion or contact Articulate Support.