Quiz pool question

Jul 13, 2016

I have a client that requests a draw of 3 questions from a pool of 10.  The learner has to get 3 questions correct.  When the learner gets a question wrong, the pool should serve up another random question.  Continue until three are correct.

Is this possible in SL2?

Sam

5 Replies
Phil Mayor

I am disabling Storylines ability to report using 

ReportStatus=function(){ //since we don't want Storyline to overwrite our scoring... let's overwrite that $#it. }

and then using 

//get LMS API var player=GetPlayer(); var currentscore=player.GetVar("Percentage"); var lmsAPI = parent; //set score; the first number is the score lmsAPI.SetScore(currentscore, 100, 0); if(currentscore<100){ SetStatus("incomplete"); }else{ SetStatus("completed"); }

to set score and status

 

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