Difference between revisions of "Event Order"

From Second Life Wiki
Jump to navigation Jump to search
Line 6: Line 6:


=Attach from ground=
=Attach from ground=
    * attach Event (who != NULL_KEY)
* attach Event (who != NULL_KEY)
      
      
=Detach to inventory / Drop from avatar to ground=
=Detach to inventory / Drop from avatar to ground=
    * attach Event (who = NULL_KEY)
* attach Event (who = NULL_KEY)
      
      
=Rez to Ground=
=Rez to Ground=
    * on_rez Event
* on_rez Event
      
      
=Reset while worn / Reset while on ground=
=Reset while worn / Reset while on ground=
    * state_entry Event
* state_entry Event


=Change in state=
=Change in state=
    * state_entry Event  (May be other events called, not tested)
* state_entry Event  (May be other events called, not tested)

Revision as of 19:52, 18 December 2007

The follow lists show which events are called for different actions

Wear or Attach from inventory / Login with item attached

  • on_rez Event
  • attach Event (who != NULL_KEY)

Attach from ground

  • attach Event (who != NULL_KEY)

Detach to inventory / Drop from avatar to ground

  • attach Event (who = NULL_KEY)

Rez to Ground

  • on_rez Event

Reset while worn / Reset while on ground

  • state_entry Event

Change in state

  • state_entry Event (May be other events called, not tested)