From Second Life Wiki
state_entry
Event: state_entry( ){ ; }
Triggered on any state transition and startup
|
Specification
Triggered
- Script save or adding to object
- State change
- A state_exit is triggered in the old state and the state_entry is triggered in the new state. All other events in the queue are lost as a result of the state change.
- On script reset, either by client or llResetScript/llResetOtherScript
- When the object is rezzed without a saved script status
- If it was a copy taken from inworld
- If the event had not been triggered due to no-script land.
Not Triggered
- When the object is rezzed with saved script status
- Use on_rez event in this situation
|
|
|
See Also
Events
| •
| on_rez
| –
| Triggered when the object is rezzed
|
|
| •
| state_exit
| –
| Triggered when the state is exited at state change
|
| Functions
|
State_entry