timer_set_duration - kemonologic/fuwafuwa GitHub Wiki

timer_set_shift(timer, duration)

Returns: (none)

Argument Type Name Desc
0 map timer The timer to modify.
1 real duration Amount (in timer's units) to set the timer's duration to.

This function modifies a timer's duration by shifting the end time by the amount specified, in the timer's units. For example, if a timer was created at frame 0 with a duration of 500 frames, setting the duration to 1000 frames would cause it to start at frame 0 and end at frame 1000.