Trigger, State and Variable help
Mar 22, 2013
I'm working on a simple exercise to teach myself about states, triggers and variables. I've created three circles (oval1, oval 2 and oval3) with a Normal and Visited state. When the user clicks on a circle I want it's state to change from Normal to Visited, add 1 to the variable %Counter% if the oval's state is normal when clicked (I also tried oval's state is not equal to visited), and display a new layer that says all three circles have been clicked when the counter reaches 3.
It works in that the layer shows when the counter reaches 3 and the object states change from Normal to Visited when each circle is clicked. The only problem is that the counter increases even if the same circle is clicked multiple times so a user could click the same circle three times and the success message/layer would be displayed. The problem seems to be with the counter being increased even when the state of the object is Visited. It's only supposed to increase the variable when the object is clicked in the Normal state.
Can anyone tell what I'm doing wrong? I've attached the file (one slide) in case anyone wants to look at it.
This discussion is closed. You can start a new discussion or contact Articulate Support.