Difference between revisions of "Event Order"

From Second Life Wiki
Jump to navigation Jump to search
m (Undo revision 1190760 by Toady Nakamura (Talk))
m (Added a separate item for rezzing to ground after an owner change)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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.
The follow lists show which events are called for different actions and the order in which they are called.


Line 4: Line 5:
*[[On rez]] Event
*[[On rez]] Event
*[[Attach]] Event  ([[Key]] id != {{LSL_Constant/NULL_KEY}})
*[[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=
Line 13: Line 19:
=Rez to ground=
=Rez to ground=
*[[On rez]] Event
*[[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=
Line 20: Line 30:
*[[State exit]] Event  (In current state)
*[[State exit]] Event  (In current state)
*[[State entry]] Event  (In target state)
*[[State entry]] Event  (In target state)
{{LSLC|Events}}

Latest revision as of 13:26, 16 September 2024

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

Attach from ground

Detach to inventory / Drop from avatar to ground

Rez to ground

Rez to ground from inventory after changing owners

Reset while worn / Reset while on ground

Change in state