# Help with gamification inside Storyline...golf scorecard

Aug 09, 2023

Hello,

I have created a golf themed storyline. I am placing screenshots below so that you have an idea of what I am trying to accomplish. The final assessment uses a separate slide for each question (freeform and customized assessment). According to the golf theme, incorrect responses "add strokes" to the overall score and correct responses keep the score "at par or take a stroke off" (depending on the question).  Therefore, I've calculated the passing score based off of the TOTAL score points taken from question (on a separate slide). The results slide is created as a full scorecard of all 15 holes.  I would like to figure out how to pull in the number of points from the individual questions into positions on the final scorecard.  The first two screenshots show one question / slide (slide view is screenshot one and form view of the question is screenshot 2).  There are 15 questions on 15 separate slides. The third screenshot shows the final scorecard.  I would like the score of the first question (see screenshot 2) to go into the box highlighted on the third screenshot (scorecard). Then, figure out how to do this for every single question for every hole on the scorecard.  Image 4 shows the success layer of the final scorecard. Lastly, because this assessment is not a "built-in" assessment, am I not able to get a variable for the final assessment (see the circled variable on the 4th screenshot)? THANK YOU to anyone who can help me with this.  I am really hoping to figure this out.

Set the points for each answer, both correct and incorrect. (Correct may be par and incorrect may be bogey, whatever you decide. Each question may have different point values.)

Create a numeric variable for each question and create a numeric variable that will be used for the total score. (for example, Question_1, Question 2, Total_Score)

For the first question add these triggers to the correct layer

• Set Question_1 = Value X (where X is the point value for a correct response) when the timeline on this layer starts
• Set Total_Score = variable Question 1

Add these triggers to the incorrect layer

• Set Question_1 = Value X (where X is the point value for an incorrect response
• Set Total_Score = variable Question 1

Add these triggers to the remaining questions:

Correct Feedback Layer:

• Set Question_Y = Value X (where X is the point value for a correct response and Y is the variable for this question) when the timeline starts for this layer
• Add variable Question_Y to Total_Score (where X is the variable for the question) when the timeline starts on this layer

Incorrect Feedback Layer

• Set Question_Y = Value X (where X is the point value for an incorrect response and Y is the variable for this question) when the timeline on this layer starts
• Add variable Question_Y to Total_Score when the timeline starts for this layer

Modify the results slide to display the question variables on the appropriate part of the scoreboard. Display the Total_Score variable in its poper spot.

See attached: