Player get and set var example
var pa = GetPlayer();
var sl_var = pa.GetVar("sl_var_name");
//note storyline must have a var declared
var js_var = 99;
pa.SetVar("sl_var_name","new string");// eg of a string
pa.SetVar("sl_var_name",js_var);// eg of a var