Difference between revisions of "LlSleep"

From Second Life Wiki
Jump to navigation Jump to search
(sleeping script still pays attention to events)
m (Replaced old <LSL> block with <source lang="lsl2">)
(3 intermediate revisions by 3 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=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.
|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=<lsl>
|examples=<source lang="lsl2">default
default
{
{
     state_entry()
     state_entry()
Line 17: Line 16:
         llSay(0,"I feel so refreshed!");
         llSay(0,"I feel so refreshed!");
     }
     }
}</lsl>
}</source>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llSetTimerEvent]]}}
|also_functions={{LSL DefineRow||[[llSetTimerEvent]]}}
Line 28: Line 27:
|sort=Sleep
|sort=Sleep
|cat1=Script
|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