Skip to main content
August 30, 2012
Answered

Jeopardy Score board

  • August 30, 2012
  • 3 replies
  • 568 views

Is there a way to create a user variable that will display the score obtained from a specific question slide only?  I have many question slides in my project and would like to display scores on the main jeopardy board as they are accumulated. 

    This topic has been closed for replies.
    Correct answer Lilybiri

    As Rod points out, you will indeed need a user variable for each score that you want to show later on. He didn't mention that the score for the last submitted question is stored in a reused system variable cpQuizInfoLastSlidePointScored. Because this variable is repopulated after each question, you have to copy its value to a user variable like this:

       Assign v_score_x with cpQuizInfoLastSlidePointScored    for slide x I labeled the variable v_score_x

    As an alternative to having to attach this statement to the action performed On Success and On Last Attempt, I always attach this to the On Enter event of the next slide. Do not forget to attach it also to the slide immediately after the last question slide if you need that score as well?

    Lilybiri

    3 replies

    August 31, 2012

    Thank to both of you!  It worked!  I used the On Success and on Last Attempt option,  

    Thanks again~

    Lilybiri
    LilybiriCorrect answer
    Legend
    August 31, 2012

    As Rod points out, you will indeed need a user variable for each score that you want to show later on. He didn't mention that the score for the last submitted question is stored in a reused system variable cpQuizInfoLastSlidePointScored. Because this variable is repopulated after each question, you have to copy its value to a user variable like this:

       Assign v_score_x with cpQuizInfoLastSlidePointScored    for slide x I labeled the variable v_score_x

    As an alternative to having to attach this statement to the action performed On Success and On Last Attempt, I always attach this to the On Enter event of the next slide. Do not forget to attach it also to the slide immediately after the last question slide if you need that score as well?

    Lilybiri

    RodWard
    Community Expert
    Community Expert
    August 31, 2012

    Just create your own custom user variables, one for each quiz question. Then use the On Success or On Last Attempt events on each separate quiz question slide to set their corresponding variable.  On the Quiz Results slide, add text captions displaying the variables as needed.