Difference between revisions of "LlMinEventDelay"

From Second Life Wiki
Jump to navigation Jump to search
m (fixe)
Line 10: Line 10:
|caveats
|caveats
|constants
|constants
|examples
|examples=
<lsl>
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.
    }
}
 
</lsl>
|helpers
|helpers
|also_functions
|also_functions

Revision as of 18:30, 1 June 2009

Summary

Function: llMinEventDelay( float delay );
0.0 Forced Delay
10.0 Energy

Set the minimum time between events being handled.

• float delay time in seconds

Examples

<lsl> 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.
   }

}

</lsl>

See Also

Articles

•  LSL Delay for default values

Deep Notes

Signature

function void llMinEventDelay( float delay );