Difference between revisions of "Os.startTimer"
From ComputerCraft Wiki
m (Updated references from "os" to "OS") |
m (Table -> Table (type)) |
||
Line 4: | Line 4: | ||
|args=[[float (type)|float]] time | |args=[[float (type)|float]] time | ||
|api=OS | |api=OS | ||
− | |returns=[[ | + | |returns=[[Table_(type)|Table]] timerID |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Adds a timer which will fire a "timer" event once after <var>time</var> seconds have passed. It returns a table which acts as a unique ID for the timer. | |desc=Adds a timer which will fire a "timer" event once after <var>time</var> seconds have passed. It returns a table which acts as a unique ID for the timer. |
Revision as of 18:46, 30 November 2012
Function os.startTimer | |
Adds a timer which will fire a "timer" event once after time seconds have passed. It returns a table which acts as a unique ID for the timer. | |
Syntax | os.startTimer(float time) |
Returns | Table timerID |
Part of | ComputerCraft |
API | OS |