Description:
Sleeps the thread the LUA script is being executed on, which is mostly the foreground thread of CoSMOS. So CoSMOS will be frozen too.
Command Parameters:
Parameter
|
Type
|
Description
|
Time
|
int
|
Milliseconds to sleep
|
Examples:
sleep(500) -- sleeps 500 milliseconds