Storyline - Using Variables to calculate total value


I'm trying to create a slide in Storyline, in which users would input 3 numbers as numeric variables - let's call them A, B and C.

When the user hits "Submit," I want SL show the result as the total of $2,350 + 50(A*B) + .3C in dollars.

Does anyone know how I would go about doing that?

Thanks in advance for any tips!


5 Replies
Laura Rogers

Thank you both VERY much for the files and assistance! I reviewed both of yours, thought I understand the concept, and then tried to build on my own without peeking. Took a while, but I built it! And I learned a very important lesson - the order of triggers actually matter - who knew?

Thanks again!

Feel much more comfortable with the numerical variables now.


Russell Still

Yep, triggers are processed sequentially. Start at the top, then drop down through them in order. Imagine having two triggers on an object. One increments a variable and the other jumps to a new slide. If the jump-to-new-slide-trigger preceeds the increment-the-variable-trigger, the jump would always occur first, preventing the variable from ever being incremented.