Calculations with Variables

Jun 12, 2012

Hello Heroes!

First off, let me say that I am in love with Articulate Storyline. Ever since Authorware was sadly decommissioned, I've been longing for a powerful e-Learning Authoring tool, and I believe Storyline is getting very close to trumping the power Authorware had.

The course I'm currently working on calls for an interactive activity in which the learner inputs numbers, and after pressing a 'Calculate' button, receives results. To simplify it: VarX (input by the learner) divided by VarY (input by the learner) equals VarZ, displayed after the learner clicks "Calculate". I have been successful in doing it within Articulate, as I have no access to Flash or Java.  

I used triggers for my solution:

Assign VarZ the value of VarX. Then divide VarZ by VarY, which Articulate assigns back to VarZ - giving me the displayed result I am looking for. However, my course requires 7 variables input by the user, and 10 different displayed results - meaning the use of 25 triggers before getting to the Calculate Button, and then 17 triggers to assign zero back to the variables for a Reset.

My question is: Is there an easier way to perform this calculation? I'm looking for something as simple as the equivalent of the Equation icon that Authorware used to have. Any tips you have will be greatly appreciated!

Thank you.

2 Replies
Phil Mayor

Hi Mario you could do the calculation in javascript, this is relatively easy just set your variable, send them to javascript and write you calculation.

Without using variables you will likely need that many triggers, there are no shortcuts,  I wouldnt worry though I have one slide with nearly 8000 triggers on it.

This discussion is closed. You can start a new discussion or contact Articulate Support.