Difference between revisions of "LlSleep"

From Second Life Wiki
Jump to navigation Jump to search
(doesn't seem to be true anymore... at least not for touch and collision_start *tests further*)
Line 27: Line 27:
|sort=Sleep
|sort=Sleep
|cat1=Script
|cat1=Script
|haiku={{Haiku|Clouds drift,streams flow on.|Yet in here, time holds its breath.|The mind disconnects.}}
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 16:27, 3 April 2014

Summary

Function: llSleep( float sec );

Puts the script to sleep for sec seconds. The script will not do anything during this time.

• float sec

Examples

<lsl>default {

   state_entry()
   {
       llSay(0,"I going to take a nap for 5 seconds.");
       llSleep(5.0);
       llSay(0,"I feel so refreshed!");
   }
}</lsl>

See Also

Events

•  timer

Functions

•  llSetTimerEvent

Deep Notes

Signature

function void llSleep( float sec );

Haiku

Clouds drift,streams flow on.
Yet in here, time holds its breath.
The mind disconnects.