2 Replies
Juanjo Haro

I've modified the scormfunctions.js in this way but i don't know if is correct to do that or there is another less intrussive way

// alert("SCORM_SetScore");

Nota_corte = SCORM_CallLMSGetValue("cmi.student_data.mastery_score")

// alert("Nota_corte: "+Nota_corte+"intScore: "+intScore+"intMaxScore: "+intMaxScore+"intMinScore: "+intMinScore);

if(intScore>=Nota_corte)

{

blnResult = SCORM_CallLMSSetValue("cmi.core.score.raw", intScore);

blnResult = SCORM_CallLMSSetValue("cmi.core.score.max", intMaxScore) && blnResult;

blnResult = SCORM_CallLMSSetValue("cmi.core.score.min", intMinScore) && blnResult;

WriteToDebug("Returning " + blnResult);

return blnResult;

}