$nav {{## * Generated by LSL2 Derived Files Generator. * Database version: 0.0.20230714000; output module version: 0.0.20170615000 ##}} ====== Events ====== Events are SL's method for notifying scripts about what's happening. Events do not execute concurrently: they run one after the other, and there's an event queue where they are stored waiting for execution of the last one to finish before the next one starts. The minimum delay between events is 0.022 seconds (one simulator frame). The function $lfn[llMinEventDelay] can set a higher minimum delay between events of the //same// type. ==== The event queue ==== If an event occurs while another event is being processed, the new event is placed in a queue, waiting for a chance to be executed. The queue is able to hold up to 64 events. Certain events can appear in the queue only a limited number of times. * $lec[Touch], $lec[collision] and $lec[target] events, as well as $ev[timer] events, can appear only once in the queue. * Up to two $ev[sensor] and $ev[no_sensor] events (or a mixture of them) can be enqueued. * Most other events can appear any number of times in the queue. In some cases, events can be removed from the queue: * Events for which there is no event handler in the current state are discarded. * The event queue is completely cleared by either a reset or a $lkw[state] change. * Using $lfn[llSetTimerEvent](0) removes any pending $ev[timer] event from the queue, if present. * Using $lfn[llSensorRemove]() removes ant pending $ev[sensor] or $ev[no_sensor] events. Some events are enqueued per //prim// rather than per script, meaning all scripts in the prim will receive them: * $ev[dataserver] * $ev[object_rez] * $ev[link_message] * $ev[http_response] And some per //object//: * $ev[money] ==== Event categories ==== ^ Category ^ Description ^ | $lec[Detection] | Includes all events inside which $lfc[detection|detection functions] are valid. | | $lec[Touch] | Includes the $ev[touch_start], $ev[touch] and $ev[touch_end] events. | | $lec[Collision] | Includes $ev[collision_*] and $ev[land_collision_*]. | | $lec[Target] | Includes $ev[`[not_`]at_`[rot_`]target]. | ====== Event list ====== Here's a comprehensive list of the events that LSL supports:
**a**\\ [[at_rot_target]]\\ [[at_target]]\\ [[attach]]\\ \\ **c**\\ [[changed]]\\ [[collision]]\\ [[collision_end]]\\ [[collision_start]]\\ [[control]]\\ \\ **d**\\ [[dataserver]]\\ \\ **e**\\ [[email]]\\ [[experience_permissions]]\\ [[experience_permissions_denied]]\\ \\ **h**\\ [[http_request]]\\
[[http_response]]\\ \\ **l**\\ [[land_collision]]\\ [[land_collision_end]]\\ [[land_collision_start]]\\ [[link_message]]\\ [[linkset_data]]\\ [[listen]]\\ \\ **m**\\ [[money]]\\ [[moving_end]]\\ [[moving_start]]\\ \\ **n**\\ [[no_sensor]]\\ [[not_at_rot_target]]\\ [[not_at_target]]\\ \\ **o**\\ [[object_rez]]\\
[[on_rez]]\\ \\ **p**\\ [[path_update]]\\ \\ **r**\\ [[remote_data]]\\ [[run_time_permissions]]\\ \\ **s**\\ [[sensor]]\\ [[state_entry]]\\ [[state_exit]]\\ \\ **t**\\ [[timer]]\\ [[touch]]\\ [[touch_end]]\\ [[touch_start]]\\ [[transaction_result]]\\