Adding variables (Value Operators) together

Hi There!
Struggling a bit with what should be a simple bit of maths and I hope someone can point me in the right direction how to structure it…
I have 4 variables (Value Operators) - (score1, score2, score3 and score4) which contain the vaue 0 or 1 depending on the results of previous tasks.
I want to simply add them together to give me a new “totalScore” value operator. From this I can trigger a result - I have one of 5 videos to play depending on the return value of totalScore being 0,1,2,3 or 4.
Hope this makes sense -THANKYOU

Hi @chris.savage,

To do “simple maths”, the easiest is to use the Simple Counter. Whenever you need the total score, call 4 times the “Add” action on the counter and bind its parameter on your 4 different variables.
The “Count” property will contain the total score you’re looking for.

1 Like