Here's mine,
I see now Yingying also used the Weight of Arguments.
Nice thing to be able to add your own argument. Well thought of!
My approach is with sliders.
https://robinweggeman.articulate-online.com/3762062627Here's the JAVAscript for handling each slider, when it moves.
For it to work, you need to create the variables "Total, TotCon & TotPro" in SL.
//GET PRO SLIDE VALUES
var player = parent.GetPlayer();
var s1 = player.GetVar ("Slider1");
var s2 = player.GetVar ("Slider2");
var s3 = player.GetVar ("Slider3");
var s4 = player.GetVar ("Slider4");
var s5 = player.GetVar ("Slider5");
var totalpro = s1+s2+s3+s4+s5;
player.SetVar ("TotPro", totalpro);
//GET CON SLIDER VALUES
var s6 = player.GetVar ("Slider6");
var s7 = player.GetVar ("Slider7");
var s8 = player.GetVar ("Slider8");
var s9 = player.GetVar ("Slider9");
var s10 = player.GetVar ("Slider10");
var totalcon = s6+s7+s8+s9+s10;
player.SetVar ("TotCon", totalcon);
// CALC TOTAL
var calctotal = totalpro-totalcon;
player.SetVar("Total", calctotal);