Difference between revisions of "LlSleep"
Jump to navigation
Jump to search
m (Examples and extra inofmation in description.) |
|||
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= | |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 | ||
Line 19: | Line 19: | ||
}</pre> | }</pre> | ||
|helpers | |helpers | ||
|also_functions | |also_functions={{LSL DefineRow||[[llSetTimerEvent]]}} | ||
|also_events | |also_events={{LSL DefineRow||[[timer]]}} | ||
|also_tests | |also_tests | ||
|also_articles | |also_articles |
Revision as of 21:40, 16 April 2007
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
default { state_entry() { llSay(0,"I going to take a nap for 5 seconds."); llSleep(5.0); llSay(0,"I feel so refreshed!"); } }