• 0
Sign in to follow this  
Followers 0
Legend

OnTimer Script

Question

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

5 answers to this question

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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 by Legend

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

ahh, i got it! thanks bro :)
It really helped me a lot.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0