I'm trying to create a power/accuracy meter very similar to the one used for a kickoff in Madden football. Basically, a bar starts at the far left, and rapidly moves to the right side (where the player must click while the bar is close to full power). Then, the bar falls back to the left where the player must click again to determine the accuracy of the shot.
My issue is that I'm using the same button (left mouse) for both of these clicks. How do I store a value the first time the player has clicked, then store a value AND send an event the second time clicked? In other words, the player must make two clicks before sending an event and entering another state. Any suggestions as to how I might go about this would be greatly appreciated! Thank you!