|string||The unique timer ID to modify, as a string (or keyword |
|real||Sets the duration of time to countdown, in seconds|
|instance||Optional: Sets the object instance containing the timer to modify (use none for |
Overrides the current time in the specified timer, restarting the countdown process. If the timer does not exist, it will be created, but not countdown.
Note that if this script is run in an event that is executed every frame (e.g. Step), the timer will be unable to countdown! If this is required, use an
if statement to only set the timer under certain conditions.
See the included interactive demo for a visual example of this function!