Difference between revisions of "LlSleep"

From Second Life Wiki
Jump to navigation Jump to search
m (Replaced old <LSL> block with <source lang="lsl2">)
(9 intermediate revisions by 6 users not shown)
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=Put script to sleep for '''sec''' seconds.
|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
|caveats
|caveats
|constants
|constants
|examples
|examples=<source lang="lsl2">default
{
    state_entry()
    {
        llSay(0,"I going to take a nap for 5 seconds.");
        llSleep(5.0);
        llSay(0,"I feel so refreshed!");
    }
}</source>
|helpers
|helpers
|also_functions
|also_functions={{LSL DefineRow||[[llSetTimerEvent]]}}
|also_events
|also_events={{LSL DefineRow||[[timer]]}}
|also_tests
|also_tests
|also_articles
|also_articles
Line 18: Line 26:
|negative_index
|negative_index
|sort=Sleep
|sort=Sleep
|cat1
|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 12:47, 22 January 2015