Open Dev Kit Documentation :: General :: Timer
Root.TimerControl for timer objects, used for tracking time intervals and executing events
Functions
- Tick ( )
- Function triggered every time the timer's interval has elapsed
- Reset Timer ( )
- Restarts a timer
Properties
- Started Boolean
- timer has started
- Countdown Boolean
- timer will count down until it reaches 0 instead of endlessly increasing
- Current Time Time
- amount of time the timer has been running for or will be running for
- Limit Integer
- total expected ticks of the timer, or 0 if no limit
- Elapsed Ticks Integer
- number of ticks that have passed
- Interval Time
- amount of time between ticks, or 0 if no ticking or events are desired
- Catch Up Integer
- maximum number of missed ticks timer should execute script, or 0 if no limit
- Parent Abstract'
- object that this belongs to
Events
- Ticked ( )
- Triggers every time the timer's interval has elapsed
- Finished ( )
- Triggers when the timer is finished (countdown or limit)
If you think anything is missing, please feel free to: submit documentation feedback on this page