working with number variables
Mar 17, 2016
I am new to Storyline and having trouble with number variables. I have a slide with a number of objects that can be selected to make an emergency kit. I can drag and drop all the items, right or wrong. What I would like to do is the have the number of items selected (either right or wrong) stop at a certain number. Say there is 10 objects but as soon as you select 5 ( any 5), you cannot pick any more. How do I set the variable?
Also I would like to give points for each correct one selected and make the points additive. How do I set the variable?
6 Replies
Hi, Catherine! Thanks for your question! Do you have a file started that you could share so that others may make suggestions? Also, in case you haven't had a chance to look it over, you may find this article on Adding Variables quite helpful. :)
This post was removed by the author
Hi, Catherine -- Thanks so much for your reply, and sorry to hear you are still having difficulties! I wanted to note in case you weren't aware, when you reply to a forum post via email, the details in your signature are displayed publicly here in the thread. If you would like to remove that information, simply use the EDIT button beneath your post.
And I appreciate the description of the steps you took, but would you also be able to share your file so we can take a closer look? Please use this form to share and we'll reply via email from within your case after review.
Hi,
I am also looking for same.
Please help me
I have a slide with a number of objects that can be selected to make an emergency kit. I can drag and drop all the items, right or wrong. What I would like to do is the have the number of items selected (either right or wrong) stop at a certain number. Say there is 10 objects but as soon as you select 5 ( any 5), you cannot pick any more. How do I set the variable?
Also I would like to give points for each correct one selected and make the points additive. How do I set the variable?
If you got any solution please share with me
Thankyou
Hi Eswarkumar,
An interesting set up you've got! It sounds like using the trigger "Adjust variable" "when object is dropped" on a particular object would get you started. Do you have an example file you're working with - t hat's often the best way to get community help as they can make edits and changes to your work in progress!
Upload here using the Add Attachment button at the bottom of the reply window.
Hi Catherine,
Is this what you're looking for?
http://rabbitoreg.com/js/select/story.html
Selecting two out of six. It should stop at two, no matter what two you select. I can post the source if you think this would help.
This discussion is closed. You can start a new discussion or contact Articulate Support.