Skip to content
lsl.devlsl.devLSL Dev

llMinEventDelay

function
Function syntax
llMinEventDelay(
  1. float delay// Minimum delay duration in seconds.
);
Energy
10

Set the minimum time between events being handled.

Defaults and minimums vary by the event type, see LSL Delay.

How to use
llMinEventDelay(0.0);

Minimum delay is maintained between state changes.

Example 1
default
{
state_entry()
{
llMinEventDelay(5.0);
}
touch(integer detected)
{
llSay(0, "Touched.");//Without the event delay set touch would cause the screen to fill
//with the word "Touched" in a split second if you held the mouse button down.
}
}
Where as, if in one object you place this script (for the sake of fun call the object “Sandy Powell”). -
default
{
touch(integer detected)
{
llSay(0, "Can you hear me mother?"); //Northern English accent. Catch phase of Sandy Powell (comedian).
}
}
and this in another object called “Mother” -
default
{
state_entry()
{
llMinEventDelay(5.0);
llListen(0, "Sandy Powell", "", "");
}
listen(integer chan, string name, key id, string msg)
{
llSay(0, "Eh?");
}
}

the result in chat is as follows -

and no more events are triggered. This is an example of lost transferred info because of llMinEventDelay so be careful with it.

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from LlMinEventDelay, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.