reference monoe.system.timer

Lua API Reference

monoe.system.timer.spawn

Spawns a timer that'll trigger an event once the given duration is reached

Parameters

NameTypeDescription
finishedstringThe event's name
durationnumberTime (in seconds)
oneshotbooleanShould this run once, or forever ?