Totals Variable not working

May 04, 2021

First off, I am new to variables and have been reverse engineering a template I found.  I am creating a Jeopardy themed game and have three methods to impact the totals.  Here are the triggers I have for a variable called Total ( have set as a number with default value of 0)

1. Add value 100 to Total when the user clicks Continue (a shape)

2. Subtract value 100 from Total when the user clicks Continue (a shape on different layer)

3. Subtract value 100 from Total when the user clicks Close(a shape on different layer) 

Only the last one is working.  These are all on different layers of the same slide.  What am I missing?  Thanks in advance for any help.

2 Replies
Maria Costa-Stienstra

Hi, A. H., and welcome to E-Learning Heroes! ✨

Thank you for sharing your .story file!

The order of triggers is very important in Storyline. On your layers, you had the trigger to add/subtract at the bottom. Since the same button (Continue 1) also has a trigger to jump to another slide first, the add\subtract one never gets executed.

You can use the arrows to move the trigger to the top position:

Windows 10 (1) 2021-05-05 at 11.02.25 AM

Let me know if this works!