Event Order
LSL Header:
{{LSL Header|ml=*}}RightToc: {{RightToc}}The follow lists show which events are called for different actions and the order in which they are called.
Wear or Attach from inventory / Login with item attached
Wear or Attach from inventory after changing owners
- On rez Event
- Attach Event (Key id != NULL_KEY)
- Changed Event (integer change & CHANGED_OWNER == TRUE)
Attach from ground
Detach to inventory / Drop from avatar to ground
Rez to ground
- On rez Event
Rez to ground from inventory after changing owners
Reset while worn / Reset while on ground
- State entry Event
Change in state
- State exit Event (In current state)
- State entry Event (In target state)
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.