Total Quiz Questions
Jun 10, 2019
By
Sam Carter
I want to thank Alyssa for the fine video on numbering randomly drawn quiz questions.
You'll notice that although the slide number is available as a variable, oddly the total quiz questions is not and must be hand-coded. Sure it can be a user variable but let's raise the bar.
The results slide creates a set of Built-In variables "Results.xxxxxx". This is the place where the total number of quiz questions would be known to SL. How about adding a new variable "Results.TotalQuestions"?
4 Replies
Thanks for the kind words, Sam!
It sounds like you need a Total Quiz Questions in Scene option in the Slide Numbers feature.
While you could use Total Slides in Scene, this would only work if your quiz questions were in a separate scene.
I'll let our team know about your idea!
I agree, Sam. This would be terrific.
Hi Sam,
I have just figured out out how to do this while working on my current project with 5 sections of questions and thought it may be helpful (although a bit late).
1. Create a variable called, “SceneQuestionsTotal” (call it what you like)

Type = Numeric
Default value = 0
2. Then on the Master Slide add 2 triggers
Adjust variable "SceneQuestionsTotal" = project variable "Scene.TotalSlides"
When the timeline starts for each slide
(This sets the static “SceneQuestionsTotal" variable to the number value of the current "Scene.TotalSlides" variable)
3. Directly BELOW this trigger, subtract 1 from "Scene.TotalSlides"
BUT ADD the IF “SceneQuestionsTotal = "Scene.TotalSlides" so it only runs once !!!
And make sure it runs AFTER the variable is set first

The master slide triggers panel should look like this:
4. Lastly update the slide master text to show “Question # of %SceneQuestionsTotal%”
and you should get: (I have 10 questions and 1 results slide in each scene)

I hope that helps,
Danny
Alyssa, Can I add my +1 to this feature request.
thanks