Variables

Jul 20, 2015

Is there a way to select different 'true/false' variables, group them, and have them all change to a selected state with one trigger?

3 Replies
Alexandros Anoyatis

There's a workaround though. You can use a JS trigger to change a whole set of variables using SetVar.

Something like

var player = GetPlayer();
player.SetVar("var1",true);
player.SetVar("var2",false);
player.SetVar("var3","Please enter text");
player.SetVar("var4",true);
player.SetVar("var5",false);
player.SetVar("var6",4);
player.SetVar("var7",2);
player.SetVar("var8",false);
player.SetVar("var9",true);

usually works.

Hope this helps,
Alex

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