Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.timer.create

S๐Ÿท๏ธ Timer

Part of StarfallEx namespace

๐Ÿ”— External
timer.create(name, delay, reps, func)
View on GitHub|lua/starfall/libs_sh/timer.lua:103
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates (and starts) a timer

Parameters

NameTypeDescription
namestringThe timer name
delaynumberThe time, in seconds, to set the timer to.
repsnumberThe repetitions of the timer. 0 = infinite
funcfunctionThe function to call when the timer is fired

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.