Forum Discussion
Totals Variable Issues
I thought that I had found a solution and still think it may work - but I am obviously missing something as it seems to have disrupted other items.
I created a new variable called 'resetvar' and set its default to False
I then set the 'Retake' buttons at the end of the game to change that variable to True when clicked.
On the first slide of the game I set a trigger to reset all of the variables (except hs_total) to their original states when the timeline starts if resetvar = true
Then when the user clicks the start button on that slide, the resetvar variable would be switched back to false.
Unfortunately, I have not been able to test this, because the triggers that would have sent the user to one of the final slides has stopped working. I cannot figure out where the break is happening. Updated story attached.