Quiz Scoring Variable Not Working
May 30, 2018
By
Amy Harry
I'm trying to show the total score for a quiz using the total points variable. I changed the point value for each correct answer/question to 1 instead of the default of 10. But when I take the quiz and get a few wrong (there are 20 questions), my score is usually 25. I have double-checked all the question points, so that's not the issue. All of the questions are free-form drag and drops using the standard player Submit button. The questions are in four scenes and the Results slide is in another scene.
First string is: %Results.ScorePoints%
I'm also using %quizNumQuestions% which is working fine
What could be wrong? I'm stumped. This is in Storyline 360.
Thanks.
Amy
7 Replies
Also, provided I can get this to work, will I need to put the percentage variables off slide for the sake of LMS scoring?
Hey Amy!
From what you've described, it sounds like you set everything up correctly. I can see why you're feeling stumped! Mind sharing your project file with me? Sometimes it helps to have a second pair of eyes to spot the culprit.
Also, you don't need to put the %Results.ScorePercent% variable off to the side. That data will be sent to your LMS automatically, as long as you included a results slide in your course.
Can I send it privately?
I also have duplicate variables. I know this happens a lot. Not exactly sure why--unless the base file had a results slide that was deleted and I added a new results slide. Is it preferable to use %Results1.ScorePoints% ? I just know I can't delete any of the duplicate variables.
Hi Amy,
Sure thing! You can send your file along right here.
Also, you definitely shouldn't have duplicate variables. If you do, something's not working right. We'll take a closer look and let you know what could've caused that.
I might have reused a course shell, which might have doubled the variables.
I ended up creating a custom scoring variable (plus 1 on every correct layer), and that is working.
Not ideal, but close enough for now. :)
Thanks.
Amy
I'm glad you figured something out. Keep in mind, for the custom variable, Storyline isn't designed to report that to your LMS and there isn't a way to adjust the built-in results slide variables.
Plenty of other users have mentioned passing custom variables to their LMS as a score here in ELH, and it'll likely involve some Javascript. If that's a bit outside your realm of expertise, I'm sure someone in the community could help!
Alyssa said: "you don't need to put the %Results.ScorePercent% variable off to the side. That data will be sent to your LMS automatically, as long as you included a results slide in your course."
Going off of that. If it gets to LMS test, we'll see what happens. Maybe I'll set up a different completion. This isn't measurement. It's learn-by-quizzing.
This discussion is closed. You can start a new discussion or contact Articulate Support.