Difference between revisions of "Os.setAlarm"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Updated references from "os" to "OS") |
||
Line 3: | Line 3: | ||
|name=os.setAlarm | |name=os.setAlarm | ||
|args=[[float (type)|float]] time | |args=[[float (type)|float]] time | ||
− | |api= | + | |api=OS |
|returns=[[table]] alarmID | |returns=[[table]] alarmID | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Revision as of 14:09, 30 November 2012
Function os.setAlarm | |
Adds an alarm which will fire an "alarm" event at the specified Minecraft world time. The returned table acts as a unique ID for the alarm. | |
Syntax | os.setAlarm(float time) |
Returns | table alarmID |
Part of | ComputerCraft |
API | OS |