Interactive exercise with point-value items in Storyline 2

Nov 18, 2015

For some reason, I can't figure out how to make this work, so I appreciate anyone's ideas on my request!

I need to build an interactive exercise screen in a Storyline module to introduce an incentive. The incentive works this way: a participant can choose from 10 different activities to complete (each with a different point value), but must do enough activities to accumulate 1,000 points.

I'd like my interactive screen to add up the point values and show when the viewer has reached 1,000 points. I feel like I should be able to do this with a drag and drop feature, but I just can't see how to make it work.

6 Replies
Brian Allen

I would be tempted to build out 10 activities as separate scenes, and have an activity menu that would link to each activity.

At the end of each scene I would include a trigger to go back to the activity menu AND add a certain number of points to my total points variable.

After your total points variable is equal to or greater than 1000 you could enable a Next button on your activity menu, allowing your learners to move on past the activities.

Make sense?

Nadine Monn

Brian, first, I love your avatar!

The suggestion does make sense and might work. The concern I have is that there's no real content to display in a scene. A viewer would choose from a list of activities like a dental exam, vision exam, life coaching, etc. In my mind it's more like a quiz question, just without a right or wrong answer.

I will keep this in mind as an option, since some of the activities are new this year and haven't been available through our plan offerings before.

Brian Allen

Ah, I misunderstood what you meant by "10 activities to complete", thinking they were actual activities they would be completed as part of your course.

In that case, your question about drag and drop makes much more sense now. A drag and drop certainly could work, but would require you to drag each activity into a drop zone. You could also do it with check boxes, radio buttons, etc.

The key is that you will need to create a "total points" variable, and then make each clickable (or drag n droppable) item add to your total points variable as it is clicked or dragged n dropped.

You can then add triggers to do things like enable Next buttons after your total points button reaches or exceeds your required number of points.

(Go Cavs!)

Brian Allen

Ok, so I've mocked up a .story file and attached it to this thread.

My example uses checkboxes, but you can do this with virtually any button, shapes with states, etc.

It was a little more complicated than I anticipated, I always underestimate these kinds of interactions.

Here's what I did:

  1. Created a "TotalPoints" number variable with a default value of "0".
  2. Created 10 T/F variables, one for each checkbox, default value of "False" (CheckBox1, CheckBox2, etc.).
  3. Added 10 checkboxes to the activity slide.
  4. For each checkbox I created three triggers:
    • Toggle the checkbox variable to "=NOT Assignment".
    • When clicked, add 100 points to "TotalPoints" IF the checkbox variable = "True".
    • When clicked, subtract 100 points from "TotalPoints" IF the checkbox variable = "False".

Just so you could see the functionality, I also attached a couple of triggers to the Next button, so that it only works if "TotalPoints" = 1000, and a layer will appear if the Next button is clicked while "TotalPoints" is less than 1000.

I know that the directions above are very simplistic, and there are probably 10 other ways to do this same thing.  Hopefully, with the attached file, you can deconstruct the interaction.

Let us know if you have any questions about anything in this example, or if you want to bounce ideas for other ways to do this same thing.



This discussion is closed. You can start a new discussion or contact Articulate Support.