I'm new to Storyline 2 (coming from Captivate) and am running into issues with multiple variable addition. In the past (e.g. captivate) I could set a function of x = w+y+z... where each time it gets called it an update to the status of x.
var player = GetPlayer();
var prog1 = player.GetVar("train");
var prog2 = player.GetVar("shake");
var prog3 = player.GetVar("fun");
var prog4 = player.GetVar("world");
var progTotal = prog1+prog2+prog3+prog4;
What am I missing?