Difference between revisions of "LlSleep"
Jump to navigation
Jump to search
Gally Young (talk | contribs) m (add script cat) |
(sleeping script still pays attention to events) |
||
Line 3: | Line 3: | ||
|func=llSleep|p1_type=float|p1_name=sec | |func=llSleep|p1_type=float|p1_name=sec | ||
|func_footnote | |func_footnote | ||
|func_desc=Puts the script to sleep for '''sec''' seconds. The script will not do anything during this time. | |func_desc=Puts the script to sleep for '''sec''' seconds. The script will not do anything during this time, although triggered events will be queued and executed afterwards. | ||
|return_text | |return_text | ||
|spec | |spec |
Revision as of 21:28, 19 October 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llSleep( float sec );108 | Function ID |
0.0 | Forced Delay |
0.0 | Energy |
Puts the script to sleep for sec seconds. The script will not do anything during this time, although triggered events will be queued and executed afterwards.
• float | sec |
Caveats
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>