Difference between revisions of "Os.startTimer"
From ComputerCraft Wiki
(Changing int to number) |
(Changing cloat to number) |
||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=os.startTimer | |name=os.startTimer | ||
− | |args= | + | |args={{type|number}} time |
|api=OS | |api=OS | ||
|returns={{type|number}} timerID | |returns={{type|number}} timerID |
Revision as of 14:51, 18 July 2013
Function os.startTimer | |
Adds a timer which will fire a "timer" event once after time seconds have passed. It returns an int which acts as a unique ID for the timer. | |
Syntax | os.startTimer(number time) |
Returns | number timerID |
Part of | ComputerCraft |
API | OS |