Difference between revisions of "Moving start"

From Second Life Wiki
Jump to navigation Jump to search
m
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 = <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 = <lsl>default
{
{
         moving_start()
         moving_start()

Revision as of 21:08, 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

<lsl>default {

       moving_start()
   {
    llStopMoveToTarget();   
   }
   
   moving_end()
   {
       llMoveToTarget(llGetPos(), 0.1);
   }

} </lsl>

See Also

Events

•  moving_end

Deep Notes

Signature

event void moving_start(  );