Average score

Is it possible to show an average score of a users attempts instead of the last attempt?

March 22, 2021, 8:46 pm

Click for thumbs down.0Click for thumbs up.0#1

Sure. Just don't send the score until you have an average: keep all attempts in Storyline variables, then calculate the average, and send that number to the leaderboard.

March 22, 2021, 10:11 pm

Click for thumbs down.0Click for thumbs up.1#2

Thanks a lot.
The next problem is, that next time (after leaving the quiz) the same user try the quiz, a new row will be added instead of updating the existing row.
Is there a solution to that?

March 23, 2021, 4:58 am

Click for thumbs down.0Click for thumbs up.0#3

This is how the widget works. Every time you call the code to add new data it will add a new row. The solution would be to not call the code until you are ready to save.

March 23, 2021, 9:19 am

Click for thumbs down.0Click for thumbs up.0#4