Changing value of "Results.ScorePoints" in JavaScript

Sep 10, 2013


Its driving me crazy. Can we change the results variable in storyline via JavaScript??

I have added a "set Javascript" trigger on result slide and the code is:

var player = GetPlayer();
var score =player.GetVar("hazards");
var passPoints = 56;

hazards is a number variable I have created in storyline.

The above code is not working for me.

9 Replies
oren savidor

Hi Phil, 

What solution does Storyilne offer if I need to pass the user score value not through the Results.ScorePoints variable, but via a variable I built myself?

I made a few graded interactions which cannot be tracked using the system variable and I have to pass the score to LMS via SCORM protocol.

Thanks in advance,

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