Forum Discussion

ReneeMinium-195's avatar
ReneeMinium-195
Community Member
4 months ago

Using Number Variables for Team Scores

Hi I'm trying to set up a scoreboard that can be used in a virtual classroom.  I've figured out how to add and subtract the points if the get a question right/wrong.  However, the team sizes might vary and therefore the score will be unfair unless I average them. Is there a way to do that? I can't figure out how to divide a variable by a variable.  

I have a number entry for the number of people on the team, I have the score and a way to add/subtract points.  I can't figure out how to divide the score by the number of people on the team. I've attached my storyline file. Thanks in advance for your help.

 

2 Replies

  • In the Adjust Variable Trigger you can change Value to Variable to divide by a Variable. Depending on  your trigger event you may need a few extra steps. like creating a seperate total score Variable that the score is added to, then transferred

    to another variable that you are going to be adjusting with this division trigger to get your average.

  • Thanks for that input.  We eventually used Java Script to solve the issue, but that may have worked too!