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
name
String
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
name
String
Timer name.
delay
Int32
Delay in milliseconds.
message
String
Message displayed at timeouit.
Return
Void

Timer
.
Remaining
(
name
)
Timer
.
Remaining
(
name
)
Get remaining time for a named timer
Parameters
name
String
Timer name
Return
Int32
Returns the milliseconds remaining for a timer.