Difference between revisions of "LlSleep"
Jump to navigation
Jump to search
m (<lsl> example) |
Gally Young (talk | contribs) m (add script cat) |
||
Line 27: | Line 27: | ||
|negative_index | |negative_index | ||
|sort=Sleep | |sort=Sleep | ||
|cat1 | |cat1=Script | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 16:51, 21 March 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>