Script Delay
Script delay (or just "delay") occurs when either explicitly requested by the developer (scripter) (via
llSleep) or when certain
functions execute built-in delays. The effects of the delay caused by either of these is identical; this page will document these effects.
The functions that automatically delay the script, whether the developer requests it or not, are:
The delay is now indicated in the mouseover tooltip of each function. If you see any new functions which have a delay, please add them to the list above.
Each of these functions performs its
task first, then delays the script the set number of seconds.
When a script is being delayed, the
event queue still fills, but in a rather peculiar manner:
Event | If triggered during the delay... |
touch_start
touch_end
| it is only executed once after the delay. |
listen | it is executed the number of times it is triggered. |
link_message | it is executed the number of times it is triggered, up to the maximum event queue size (64) |
Please feel free to add more.
The delay between events can also be changed with
llMinEventDelay. By default the delay is .1 seconds between the end of an event and when the next event is fired off (the script sleeps).
Tip
For a specific function to
not be delayed (any more than it is with its own delay, if any), put it in a separate script.
events |
functions