llSleep(float sec)
Puts the script to sleep for
sec seconds. During this time, the current event will not be exited, no other events will be processed.
(As a comment notes, new events are still queued, but it looks like only one event of each type will actually queue while the script sleeps(/delays?). Anyone know more about that?)
llSleep has its uses, but can be inconvenient. See
llSetTimerEvent and the
timer() event for an alternative that allows other events to be executed while waiting.
A quick test shows the time actually slept seems to differ up to about .1 seconds from the requested amount.
See
ScriptDelay for more information on how
llSleep affects script execution.
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions