Need help with javascript for displaying score points variable

Nov 11, 2015

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") + ".");

 

3 Replies

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