Difference between revisions of "Event Order"
Jump to navigation
Jump to search
Lou Netizen (talk | contribs) m (Added a separate item for rezzing to ground after an owner change) |
|||
(17 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
The follow lists show which events are called for different actions | {{LSL Header|ml=*}}{{LSLC|Events}}{{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 / Login with item attached= | ||
* | *[[On rez]] Event | ||
* | *[[Attach]] Event ([[Key]] id != {{LSL_Constant/NULL_KEY}}) | ||
=Wear or Attach from inventory after changing owners= | |||
*[[On rez]] Event | |||
*[[Attach]] Event ([[Key]] id != {{LSL_Constant/NULL_KEY}}) | |||
*[[Changed]] Event ([[integer]] change & CHANGED_OWNER == [[TRUE]]) | |||
=Attach from ground= | =Attach from ground= | ||
* | *[[Attach]] Event ([[Key]] id != {{LSL_Constant/NULL_KEY}}) | ||
=Detach to inventory / Drop from avatar to ground= | =Detach to inventory / Drop from avatar to ground= | ||
* | *[[Attach]] Event ([[Key]] id = {{LSL_Constant/NULL_KEY}}) | ||
=Rez to | =Rez to ground= | ||
* | *[[On rez]] Event | ||
=Rez to ground from inventory after changing owners= | |||
*[[On rez]] Event | |||
*[[Changed]] Event ([[integer]] change & CHANGED_OWNER == [[TRUE]]) | |||
=Reset while worn / Reset while on ground= | =Reset while worn / Reset while on ground= | ||
* | *[[State entry]] Event | ||
=Change in state= | =Change in state= | ||
* | *[[State exit]] Event (In current state) | ||
*[[State entry]] Event (In target state) |
Latest revision as of 14:26, 16 September 2024
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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)