Difference between revisions of "LSL Delay"
Pedro Oval (talk | contribs) m (→Events: One more confirmed) |
Pedro Oval (talk | contribs) (→Events: Changed to be more factually accurate) |
||
Line 199: | Line 199: | ||
==Events== | ==Events== | ||
All events except [[state_entry]] and [[state_exit]] have a minimum delay. The default delay between events is 0. | All events except [[state_entry]] and [[state_exit]] have a minimum delay. The default delay between events is 0.022 seconds (one simulator frame); a longer delay can be specified with [[llMinEventDelay]]. A delay less than the default will have the same effect as if it were the default. The [[link_message]], [[run_time_permissions]] and [[http_request]] events don't obey the delay set in '''llMinEventDelay'''. While there is a maximum of one event per simulator frame (with the exception of state_entry and state_exit, which can be triggered multiple times in one frame), those events that don't obey '''llMinEventDelay''' are scheduled with a higher priority than the rest. | ||
{| | {| | ||
Line 209: | Line 209: | ||
! Events | ! Events | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[at_rot_target]] | ||[[at_rot_target]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[at_target]] | ||[[at_target]] | ||
|- | |- | ||
Line 218: | Line 218: | ||
||[[attach]] | ||[[attach]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[changed]] | ||[[changed]] | ||
|- | |- | ||
Line 230: | Line 230: | ||
||[[collision_start]] | ||[[collision_start]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[control]] | ||[[control]] | ||
|- | |- | ||
Line 239: | Line 239: | ||
||[[email]] | ||[[email]] | ||
|- | |- | ||
|| | ||0.022(*) | ||
||[[http_request]] | ||[[http_request]] | ||
|- | |- | ||
Line 260: | Line 260: | ||
||[[land_collision_start]] | ||[[land_collision_start]] | ||
|- | |- | ||
||0. | ||0.022(*) | ||
||[[link_message]] | ||[[link_message]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[listen]] | ||[[listen]] | ||
|- | |- | ||
Line 275: | Line 275: | ||
||[[moving_start]] | ||[[moving_start]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[no_sensor]] | ||[[no_sensor]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[not_at_rot_target]] | ||[[not_at_rot_target]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[not_at_target]] | ||[[not_at_target]] | ||
|- | |- | ||
Line 302: | Line 302: | ||
||[[remote_data]] | ||[[remote_data]] | ||
|- | |- | ||
||0. | ||0.022(*) | ||
||[[run_time_permissions]] | ||[[run_time_permissions]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[sensor]] | ||[[sensor]] | ||
|- | |- | ||
||0 | ||0(**) | ||
||[[state_entry]] | ||[[state_entry]] | ||
|- | |- | ||
||0 | ||0(**) | ||
||[[state_exit]] | ||[[state_exit]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[timer]] | ||[[timer]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[touch]] | ||[[touch]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[touch_end]] | ||[[touch_end]] | ||
|- | |- | ||
||0. | ||0.022 | ||
||[[touch_start]] | ||[[touch_start]] | ||
|- | |- | ||
Line 330: | Line 330: | ||
|} | |} | ||
|} | |} | ||
(*) These events don't obey '''llMinEventDelay''' and are given a higher priority. | |||
(**) These events don't obey '''llMinEventDelay''' and can be triggered more than once per simulator frame. |
Latest revision as of 08:16, 19 December 2012
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Functions
Some LSL functions delay script execution when they are called.
The delay is measured in seconds (it's a float value).
Events
All events except state_entry and state_exit have a minimum delay. The default delay between events is 0.022 seconds (one simulator frame); a longer delay can be specified with llMinEventDelay. A delay less than the default will have the same effect as if it were the default. The link_message, run_time_permissions and http_request events don't obey the delay set in llMinEventDelay. While there is a maximum of one event per simulator frame (with the exception of state_entry and state_exit, which can be triggered multiple times in one frame), those events that don't obey llMinEventDelay are scheduled with a higher priority than the rest.
|
|
|
(*) These events don't obey llMinEventDelay and are given a higher priority.
(**) These events don't obey llMinEventDelay and can be triggered more than once per simulator frame.