View Single Post
Old
sfunk
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)

Else
(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:

http://alice.org/community/showthread.php?p=36778#post36778

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

Or..

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

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
Reply With Quote