Forum Discussion
ScottWiley1
10 months agoCommunity Member
I haven't been doing much Storyline development for a while now. I believe you can set up custom variables to track a score. This would mean you'd have to also add custom triggers to your question submit button to set your custom variables. When it comes time to submit the results, you'll have to do a comparison of the first try score value with the second score value and whichever is larger, plug into the LMS set score call.
Oh, and one other thing, you'll also have to add a line to set completion. Usually there is a score threshold considered 'passing' so you can use that to determine if it should be set to completed.
// set passed/completed
lmsAPI.SCORM2004_SetPassed();
lmsAPI.SCORM2004_SetCompleted();