Table of Contents

LSL Events

Introduction

Within states LSL works on events, such as the scripted object starting to move (moving_start), colliding with things (collision_start) or a recurring timer (timer).

Events do not interrupt each other, but instead are queued FIFO, though the state_entry event can jump the queue. If more that 64 events are waiting, new events are discarded until free slots become available. If the script is paused, such as when an object is taken to inventory, pending events are preserved and handled the next time the object is rezzed. On state change the event queue is cleared and any open listens are removed automatically. Reoccurring sensor events (sensor) are set not to reoccur in the new state and must be manually re-enabled (via llSensor or llSensorRepeat), but timer events (from llSetTimerEvent) do reoccur. Please refer to the State article for further details.

Key Description
The event was recently added.
The event has been deprecated but still works. It is best to avoid functions marked as deprecated.
The event has not only been deprecated, but it has also been removed. Do not use functions marked as removed.
The event needs testing.
The event is partially implemented. Some parts of the function may not behave as expected.
The event is not supported.
The event is currently only on Mobius Beta Grid

Events

A

C

D

E

H

L

M

N

O

P

R

S

T

QR Code
QR Code wiki:scripting_portal:events (generated for current page)