I'm looking for assistance in resetting 3 variables upon revisit. I have 3 numeric entries adding up to create a total. I have a warning layer to show if any of the 3 entries have a value of 0. When the user revisits, I can't get the value to reset. If I reset it to 0, the warning layer will show. I have the slide and layer set to "reset to initial state." Any suggestions on what else I can do?
Same trigger Sandy on the layer where the total variable is.
You can reset the variable when the user closes the feedback layer
So trigger would be:
Adjust variable 'total' assignment = 0 when user clicks close button (if you have one) or when timeline ends on the layer. Hard to say without seeing your set up but try one of those
5 Replies
Hi Sandy
the reset to initial state will not affect variables, they need to be triggered.
Try 'adjust variable x assignment = 0 when timeline starts on slide'. Make sure this is at the top of the trigger panel.
Thanks Wendy that worked, however, let's say I enter
4
4
4
The answer variable is "total" and in this case the total comes out to 12 on the feedback layer.
When I reset and return to the slide, the numbers are set to 0. When I enter new numbers, let's say
3
3
3
It adds the 9 to the 12. How can I reset my total variable on the feedback layer.
Same trigger Sandy on the layer where the total variable is.
You can reset the variable when the user closes the feedback layer
So trigger would be:
Adjust variable 'total' assignment = 0 when user clicks close button (if you have one) or when timeline ends on the layer. Hard to say without seeing your set up but try one of those
Thanks Wendy - that worked
Excellent - glad you worked it out Sandy - all the best with your project ;-)
This discussion is closed. You can start a new discussion or contact Articulate Support.