Forum Discussion
donnakinnish-5b
2 years agoCommunity Member
Custom scoring in Storyline
We have created a piece of learning that use our own scoring (Varscore) rather than the built in quiz scoring . It's a try me test me scenario, the user gets 5 points for each slide if they click in...
Dave-Ruckley
2 years agoCommunity Member
I've used the following javascript that triggers when the timeline starts on the last slide and it writes successfully back to the LMS:
var player = GetPlayer();
function findLMSAPI(win) {
if (win.hasOwnProperty("GetStudentID")) return win;
else if (win.parent == win) return null;
else return findLMSAPI(win.parent);
}
var lmsAPI = findLMSAPI(this);
lmsAPI.SetScore(player.GetVar("final_user_score"), 100, 0);
SCORM_CallLMSSetValue("cmi.core.lesson_status", "complete");
Related Content
- 4 months ago
- 4 months ago