Forum Discussion
Tracking a Running/Evolving "Score" Within a Multi-Questioned Scenario
- 1 month ago
Hi Jeff,
Just create your Score variable. Then, any time you want a point added, such as when a user clicks on something, then add a trigger to add 1 to the Score variable.
In this image, you can see the Trigger will add the value of 1 to the variable named "Progress" when the user clicks on a button.
If you are creating your own buttons and not using the built-in quiz feature, be careful that a user might click the button, click away, and then re-click a button as they make their final choice. This would cause the variable to get 2 points instead of 1. Therefore, you might need to use a Submit button that would adjust the Score variable and move to the next slide.
For example, your Trigger might be Adjust Variable, Add value 1 to Score, when the user clicks Submit, on the Condition that the correct button (related to the correct choice) is in the Selected state.
If this answers your question, please mark it solved. Otherwise, feel free to ask a follow-up question.
Yes, this is what I'm trying to do, but I was thinking there would be a simple way to do it within the existing tools of Storyline so the variable can be modified without me having to learn/create Javascript.
As JudyNollet​ has mentioned you can use well-crafted triggers. If you end up using a lot of those it gets difficult to read and I find dipping down into code to be easier. Anyhow, looks like you've got a lot of good advice below on doing this.
Related Content
- 10 months ago