How do I make something happen in increments.
So I have a global variable, set it to zero and each time you click the mouse button it adds 1 to the variable on the 5th click "pew pew" something happens. Do I then set the veritable back to zero and then count the clicks backup to 5 so "pew pew" something happens or can I say the 5th click the 10th click the 15th click and so on.
I want to do the same thing with scoring say 5000 you get a free man, 10,000 you get a free man.
Any ideas?