LSL Wiki Mirror 7-7-7 : llMinEventDelay

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
llMinEventDelay(float delay)

Sets the minimum amount of time, in seconds, between any event calls. Any delay 0.05 or less has no effect. As an example, it is useful if you would like to increase the amount of time between calls such as touch or collision, thereby decreasing load on server resources.

Q: Will setting llMinEventDelay affect events that have internal timers, such as llSetTimerEvent and llSensorRepeat? If so, how does it affect these events?
A: I did some testing and here's what I got with a freshly compiled script with llMinEventDelay(float delay). These were counted using the highly-scientific "one mississipi" method since I don't have a stopwatch.

At this point my brain melted.

See script delay for more information.

Q: After doing all this testing I question the usefulness of this function in light of the apparent randomness of its effect. Would one of my betters like to comment on how it might be used?
A: It seems to me that for touch or collision events, it might still be useful. You're right though, it's pretty limited.

functions | events | script delay
There are 6 comments on this page. [Display comments/form]