Legend 43 Posted May 24, 2014 Can someone teach me how OnTimer script works? im confused on how to use it.thanks and have a nice day~ Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted May 24, 2014 like this http://upaste.me/r/913cad 1 Tinustang reacted to this Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 24, 2014 On a text-based explanation, these labels get executed when te timer reaches the amount of ticks specified in label. For example OnTimer1000: label will get executed when the timer reaches 1000 ticks and so on. Ticks are expresed in milliseconds, which you may remember from school they are 1/1000th of seconds, so basically 1000 ticks is a second. Quote Share this post Link to post Share on other sites
0 Legend 43 Posted May 24, 2014 (edited) ticks are expressed in milliseconds, so, OnTimer1000 = 1 second, OnTimer60000 = 1minute and OnTimer120000 = 1hour... is that what you mean sir? btw, thanks for replying Edited May 24, 2014 by Legend Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 24, 2014 120000 ticks are 120000/1000 = 120 seconds, which is 2 minutes. A whole hour is 1000*60*60 = 3600000 milliseconds and the same number of ticks. Quote Share this post Link to post Share on other sites
0 Legend 43 Posted May 25, 2014 ahh, i got it! thanks bro It really helped me a lot. Quote Share this post Link to post Share on other sites
Can someone teach me how OnTimer script works? im confused on how to use it.
thanks and have a nice day~
Share this post
Link to post
Share on other sites