Forum Discussion
JourneyAvila
4 months agoCommunity Member
calculating the total points and add the conditional branching
I am training in Storyline 360: Advanced Elearning under the 'movie' of Calculate the Points and Add the Conditional Branching. I have followed the tutorial but in the end my Total Points does not ...
rostanchase
4 hours agoCommunity Member
It sounds like there may be a small issue in your triggers or variables that’s affecting the total points calculation. Here are a few things to check and some troubleshooting tips to help you get your points tally working properly in Storyline 360:
1. Double-Check Variable Setup
- Make sure the Total Points variable is set to start at 0.
- Verify that it’s set as a number variable, not text, to avoid issues with arithmetic operations.
2. Check Each Trigger That Updates Total Points
- Go through each trigger that adds points to Total Points to ensure it’s correctly set to Add (or Subtract, if needed) the appropriate amount.
- Confirm that the action is set up to modify the Total Points variable, not some other similar variable.
3. Order of Triggers
- In Storyline, the order of triggers matters. If you’re adding multiple points in sequence (for example, after clicking a button), make sure the triggers are in the correct order.
- To do this, go to the Triggers panel and drag them into the order in which they should execute.
4. Conditional Branching Check
- Ensure that the conditions for your branching slide are set up properly to compare the correct point thresholds (e.g., “if Total Points is greater than or equal to 10, go to Slide X”).
- Double-check the conditions on your transition triggers to make sure they reference Total Points.
5. Preview or Test Mode
- Sometimes, the issue only shows up in Preview mode. Use Preview or Publish the course to see if the Total Points variable behaves differently compared to working within the editor.
- Go through the interactions to see if the Total Points updates as expected in real-time.
6. Use Reference Text Boxes to Monitor Points
- To make troubleshooting easier, create a text box that displays the current value of Total Points by adding a reference like %TotalPoints%.
- Place it on the screen while you’re testing so you can watch the points update as you go through each interaction.
7. Verify Button and Interaction Settings
- If the points are meant to be added when a button is clicked or an interaction is completed, make sure that the trigger to add points is tied to the correct button or interaction.
8. Recreate the Trigger
- Sometimes Storyline triggers can get glitchy. Delete and recreate the trigger that’s not working to make sure it’s clean.
Example Walkthrough:
Here’s an example of what a point-adding trigger should look like in Storyline:
- Action: Adjust variable
- Variable: Total Points
- Operator: Add
- Value: (the number of points to add, e.g., 5)
- When: (the action that should trigger the addition, such as “User clicks Button 1”)
If everything checks out and you’re still having issues, it could be worth restarting Storyline or trying a new variable name for Total Points to see if that clears up any potential bugs.
Let me know if this helps or if you need more specific guidance!