Jump to content
  • 0
Sign in to follow this  
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

Recommended Posts

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.