timer.frame⚓︎
Convenience access to frame timer functions. This is the same as passing type = timer.real
to any of the functions from timer API.
Functions⚓︎
timer.frame.delayOneFrame
⚓︎
Creates a timer that will finish the next frame.
Tip
It's recommended to study the Object Lifetimes guide. It describes how to safely use tes3reference objects inside timer callbacks.
local timer = timer.frame.delayOneFrame(callback)
Parameters:
callback
(fun(e: mwseTimerCallbackData)): The callback function that will execute when the timer expires.
Returns:
timer
(mwseTimer)
Last update:
November 11, 2023 11:06:38
Created: February 5, 2022 09:05:41
Created: February 5, 2022 09:05:41