Difference between revisions of "LlSleep"
Jump to navigation
Jump to search
m |
(doesn't seem to be true anymore... at least not for touch and collision_start *tests further*) |
||
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. | ||
|return_text | |return_text | ||
|spec | |spec |
Revision as of 19:11, 26 November 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.
• 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>