Reporting %Total Score%

Hello!

I have been playing around with Articulate's ability to show a Total Score anywhere on the page. I have created a custom quiz with this feature, where instead of using Quiz slides, there are triggers which add points when users select certain options. This has allowed me to do more animations during the quiz question, rather than separating animations from the quiz question. However, I am now having trouble coming up with a way for the score to be reported. When I publish in a SCORM format, I can only output results from a Results Slide, and Results Slides require quiz questions. Another avenue I tried was to print results, but Total Score was not an option to be reported.

Total Score is available in Trigger options, etc. so Articulate recognizes it as a variable - is there any way to allow users to print their Total Score or to get Total Score to be reported in a SCORM format?

Thanks for your help!

6 Replies
Michelle Benedett

Thanks for everyone's help!

I found where to run javascript in a trigger. Can someone just break down this javascript for me so I know what I have to edit to report a score out of a total score of 60, passing score is 40? Can it report the actual score to Blackboard? if I put "totalscore" in the java script below, do I put %totalscore%? This is a little hard to do not being fluent in Java.

//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
lmsAPI.SetScore(90, 100, 0);
//set status; possible values: "completed","incomplete", "failed", "passed"
SetStatus("completed")

Rick Gomez

lmsApI.SetScore(yourscore, Max score, Min score);
In your sample you are passing a fixed score of 90, so instead of 90 you should replace that with a variable or the result of your score.
if your total is 60, then change the 100 (max) to 60. the 0 can stay as it is as its the minimum.
then you an probably add an If

If (yourscore >40)
{

SetStatus("completed")

}

else

{

SetStatus("incomplete")

}

Rick Gomez

var player = GetPlayer();
var YourScore= player.GetVar("scoreCustom");
var lmsAPI = parent;

lmsAPI.SetScore(YourScore,61,0); //second parameter is max, second is min scale

if (YourScore > 75 ) // if yourscore is bigger than 75 then set the status to complete
{
SetStatus("completed")
}
else
{
SetStatus("Incompleted") // if yourscore is less than 75 then set the status to incomplete
}