Difference between revisions of "Os.startTimer"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=os.startTimer |args=float time |api=os |returns=table timerID |addon=ComputerCraft |desc=Adds a timer which will fire...")
 
m (Moved to CAT:LuaCoreFunctions)
Line 9: Line 9:
 
  |examples=
 
  |examples=
 
}}
 
}}
 +
 +
[[Category:Lua_Core_Functions]]

Revision as of 18:50, 28 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