Forum Discussion
Collecting Items & Displaying results
- Create a number variable with the default value of 0. For example, call it "tidbit_Total."
- For each tidbit, create a T/F variable with a default value of False (indicating that it hasn't been viewed). For example, call these "tidbit1," tidbit2," etc.
- For each button a user can click to view a tidbit, add a trigger that adjusts the corresponding T/F variable to True (indicating that they viewed that tidbit).
- At the end, use a series of triggers that add 1 to the tidbit_Total variable with the condition that a given T/F variable is True. You'd need one trigger per tidbit. Those would look something like this:
Note: Each item with a dotted underline in the Trigger Wizard can be clicked to change it to something else. For example, the default action when adjusting a variable is to Set it to a specific value. But it you click Set, you'll see other options. For number variables, those options include math operators like Add.
- At the end, insert a variable reference to show the final amount of tidbit_Total to the user.
If you aren't familiar with trigger conditions and variables, it's worth the effort to learn about them. They provide the real control in Storyline. Here's some more info:
This worked perfectly!!! Thank you so much! The articles you sited are also very helpful!
- JudyNollet3 years agoSuper Hero
I'm glad to know that.
FYI: I try to include links to relevant articles. I think the User Guide (https://community.articulate.com/series/articulate-storyline-360 ) is an excellent—but often overlooked—resource.