Difference between revisions of "LlMinEventDelay"
Jump to navigation
Jump to search
Gally Young (talk | contribs) 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 19:30, 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. }
}
</lsl>See Also
Articles
• | LSL Delay | – | for default values |