Difference between revisions of "Moving start"

From Second Life Wiki
Jump to navigation Jump to search
(Added on-rez caveat)
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
*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
{
        moving_start()
    {
    llStopMoveToTarget(); 
    }
   
    moving_end()
    {
        llMoveToTarget(llGetPos(), 0.1);
    }
 
}
</lsl>
|helpers
|helpers
|also_header
|also_header

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

<default {

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

} </lsl>

See Also

Events

•  moving_end

Deep Notes

Signature

event void moving_start(  );