Forum Discussion
SamuelBarton
3 years agoCommunity Member
Using Variables to add and subtract score count up
Hi Everyone,
I need some advice on a storyline 360 I am creating.
I want it to add up points as it goes depending on the interactions of the user. I have managed to make the project add up the a...
JudyNollet
3 years agoSuper Hero
Here's what I'd do:
- Instead of a T/F variable, track answers with a number variable, using 0=incorrect and 1=correct. This variable should be properly set whenever the user answers/re-answers a question.
- Use another number variable (e.g., "Total") for the score. Whenever you want to determine the score, start with a trigger that adjusts the score to 0, so the adding starts from there. Then use triggers to add all those other variables to the score.
- Definitely easier to do this just once at the end with a submit button.
- If you want to show a running score, you need to have all the triggers one each graded interaction.
Related Content
- 12 months ago
- 12 months ago
- 12 months ago
- 3 months ago
- 12 months ago