View Single Post
Senior Member
sfunk's Avatar
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 11-13-2011, 04:46 AM

well use a boolean variable. have the variable be true while you want the timer to be running, then whenever you want the timer to stop have the variable set to false.

kinda look like this

If run_timer == true
(timer keep increaseing)

(if run_timer == false
timer stop increasing)

It won't look exactly like that since im not sure what kind of timer you are using.

And to reset the timer, just use an if/else statement that sets the value of your timer back to what you want it to be once it meets the criteria

If you are stuck on a project, check out the tutorials I made here at this link:

There are lots of tutorials on it so far, including some youtube videos, check it out


Go to my youtube channel to check out my alice 2.2 tutorials I have there..
Reply With Quote