Difference between revisions of "Os.startTimer"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:LuaCoreFunctions)
m (Updated references from "os" to "OS")
Line 3: Line 3:
 
  |name=os.startTimer
 
  |name=os.startTimer
 
  |args=[[float (type)|float]] time
 
  |args=[[float (type)|float]] time
  |api=os
+
  |api=OS
 
  |returns=[[table]] timerID
 
  |returns=[[table]] timerID
 
  |addon=ComputerCraft
 
  |addon=ComputerCraft

Revision as of 14:09, 30 November 2012


Grid Redstone.png  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