Difference between revisions of "Moving start"

From Second Life Wiki
Jump to: navigation, search
m
Line 7: Line 7:
 
***Take off the attachment and then wear the attachment again.
 
***Take off the attachment and then wear the attachment again.
  
*This event is also triggered when an object is rezzed (unless, presumably, you happen to rez it in precisely the same spot it was before.)|examples = <lsl>default
+
*This event is also triggered when an object is rezzed (unless, presumably, you happen to rez it in precisely the same spot it was before.)|examples
{
+
        moving_start()
+
    {
+
    llStopMoveToTarget(); 
+
    }
+
   
+
    moving_end()
+
    {
+
        llMoveToTarget(llGetPos(), 0.1);
+
    }
+
 
+
}
+
</lsl>
+
 
|helpers
 
|helpers
 
|also_header
 
|also_header

Revision as of 21:10, 20 October 2009

Description

Event: moving_start( ){ ; }

Triggered when task begins moving


Caveats

  • The moving_start and moving_end events require special handling when scripting attachments.
    • After adding or editing a script you must:
      • Take off the attachment and then wear the attachment again.
  • This event is also triggered when an object is rezzed (unless, presumably, you happen to rez it in precisely the same spot it was before.)
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  moving_end

Deep Notes

Signature

event void moving_start(  );