working with number variables

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
Christie Pollick

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. 

Eswarkumar Kantheti

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?

Ashley Terwilliger

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.