Difference between revisions of "LlMinEventDelay"
Jump to navigation
Jump to search
m |
|||
Line 20: | Line 20: | ||
touch(integer detected) | 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. | 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. | |||
} | } | ||
} | } |
Revision as of 19:32, 1 June 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llMinEventDelay( float delay );125 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Set the minimum time between events being handled.
• float | delay | – | time in seconds |
Caveats
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 if you held the mouse button down. }
}
</lsl>See Also
Articles
• | LSL Delay | – | for default values |