Need help with javascript for displaying score points variable Nov 11, 2015 By Yvonne Soh I tried to add a javascript trigger to display alert on the Results.ScorePoints. It doesn't seem to be capturing my variable. Please help! The code is below. var player = GetPlayer(); alert("Points: " + player.GetVar("Results.ScorePoints") + ".");
Ashley Terwilliger-Pollard Staff over 8 years ago11/11/15 at 4:03 pm (UTC) Hi Yvonne, I'd also suggest using Matthew's method, as the Results.ScorePoints variable is not one that is accessible in Storyline. Also you may want to keep the Javascript best practices article handy.
3 Replies
Hi Yvonne,
I'd also suggest using Matthew's method, as the Results.ScorePoints variable is not one that is accessible in Storyline. Also you may want to keep the Javascript best practices article handy.
Thank you, it works!
Thanks!
This discussion is closed. You can start a new discussion or contact Articulate Support.