Timer
Timer are normally used to display messages after a certain period of time. They are also often used to keep track of the maximum amount of time for an action to complete.
TODO: Timer Constructors
Methods
Timer.Check(name)
Timer.Check(name)
Check if a timer object is expired or not.
Parameters
nameString
Return
Boolean
true if not expired, false if expired
Timer.Create(name, delay, message)
Timer.Create(name, delay, message)
Create a timer with the provided name that will expire in ms_timer time (in milliseconds)
Parameters
nameString
Timer name.
delayInt32
Delay in milliseconds.
messageString
Message displayed at timeouit.
Return
Void
Timer.Remaining(name)
Timer.Remaining(name)
Get remaining time for a named timer
Parameters
nameString
Timer name
Return
Int32
Returns the milliseconds remaining for a timer.