timer_get_start - kemonologic/fuwafuwa GitHub Wiki
timer_get_start(timer)
Returns: (real) The start time of the timer, in the timer's units.
| Argument | Type | Name | Desc |
|---|---|---|---|
| 0 | map | timer | The timer to check. |
Returns the start time of the timer on the internal clock, in the timer's units. fuwafuwa tracks microseconds and frames since the game begins, and this returns the point on that clock at which the timer began. For example, if the game was 1000 frames in when you set a timer and the timer's unit is frames, this function would return 1000.
Please note that a timer's start time is reset every time it's restarted, unpaused, or repeats: as a result, in those cases this function will not return the "original" start time, but instead the time at which the last of those events occurred.