Category:LSL Events

From Second Life Wiki
Revision as of 23:33, 18 December 2008 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

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. On state change the event queue is cleared and any open listens are removed automatically. Reoccurring events (sensor and timer) are set not to reoccur in the new state and must be manually re-enabled (via llSensor, llSensorRepeat or llSetTimerEvent). Please refer to the State article for further details.