Difference between revisions of "Moving start"

From Second Life Wiki
Jump to navigation Jump to search
(added caveat)
Line 1: Line 1:
{{LSL_Event|event_id=25|event_delay|event=moving_start|event_desc=Triggered when task begins moving|constants|spec|caveats|examples|helpers|also_header|also_events|also_functions|also_articles|also_footer|notes|mode|deprecated}}[[Category:LSL_Stub]]
{{LSL_Event|event_id=25|event_delay|event=moving_start|event_desc=Triggered when task begins moving|constants|spec
|caveats=The moving_start and moving_end events require special handling when scripting attachments.  To make the moving events fire correctly in this case, you have to add the script to the attachment, take off the attachment, then wear the attachment again. If you're changing the script while it is in the attachment, you recompile it, then remove the attachment, then wear the attachment.  This only needs to be done when you're changing/adding scripts.
|examples|helpers|also_header|also_events|also_functions|also_articles|also_footer|notes|mode|deprecated}}[[Category:LSL_Stub]]

Revision as of 06:12, 20 February 2007

Description

Event: moving_start( ){ ; }

Triggered when task begins moving


Caveats

The moving_start and moving_end events require special handling when scripting attachments. To make the moving events fire correctly in this case, you have to add the script to the attachment, take off the attachment, then wear the attachment again. If you're changing the script while it is in the attachment, you recompile it, then remove the attachment, then wear the attachment. This only needs to be done when you're changing/adding scripts.


Examples

Deep Notes

Signature

event void moving_start(  );