<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I start to work again with phyical objects. But many things that
    worked before,<br>
    Dont work pretty good anymore. or seems to stop working at all.<br>
    In this case, the following script seems to fail in some way with
    the march version of <br>
    osgrid opensim version. I have tried the same script in 0.7.3RC2
    local stanbdalone and there it still works.<br>
    Also my own verhicle works not good anymore , for some reason the
    event "at_target(" dont get triggered anymore.<br>
    <br>
    this script i tried in my sandbox. sandbox palza 1 & 2 and OKC
    sandbox. it dont work. <br>
    <br>
    <pre class="lsl"><a href="http://wiki.secondlife.com/index.php?title=default"><span style="color: #0000FF;font-weight: bold; text-decoration: none;">default</span></a>
<span style="color: #66cc66;">{</span>
    <a href="http://wiki.secondlife.com/index.php?title=state_entry"><span style="color: #00A0A0;font-weight: bold; text-decoration: none;">state_entry</span></a><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>
    <span style="color: #66cc66;">{</span>
        <a href="http://wiki.secondlife.com/index.php?title=vector"><span style="color: #007700;font-weight: bold; text-decoration: none;">vector</span></a> pos <span style="color: #66cc66;">=</span> <a href="http://wiki.secondlife.com/index.php?title=llGetPos"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llGetPos</span></a><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        <a href="http://wiki.secondlife.com/index.php?title=llSetStatus"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llSetStatus</span></a><span style="color: #66cc66;">(</span><a href="http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=STATUS_PHYSICS"><span style="color: #0000A0;font-weight: bold; text-decoration: none;">STATUS_PHYSICS</span></a>, <a href="http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=TRUE"><span style="color: #0000A0;font-weight: bold; text-decoration: none;">TRUE</span></a><span style="color: #66cc66;">)</span>;
        <span style="color: #FF7700;">// Little pause to allow server to make potentially large linked object physical.</span>
        <a href="http://wiki.secondlife.com/index.php?title=llSleep"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llSleep</span></a><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">0.1</span><span style="color: #66cc66;">)</span>;
        <a href="http://wiki.secondlife.com/index.php?title=llMoveToTarget"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llMoveToTarget</span></a><span style="color: #66cc66;">(</span>pos,<span style="color: #cc66cc;">0.4</span><span style="color: #66cc66;">)</span>;
        <span style="color: #FF7700;">// Look for owner within 20 meters in 360 degree arc every 1 seconds.</span>
        <a href="http://wiki.secondlife.com/index.php?title=llSensorRepeat"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llSensorRepeat</span></a><span style="color: #66cc66;">(</span><span style="color: #00A000;">""</span>, <a href="http://wiki.secondlife.com/index.php?title=llGetOwner"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llGetOwner</span></a><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>, <a href="http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=AGENT"><span style="color: #0000A0;font-weight: bold; text-decoration: none;">AGENT</span></a>, <span style="color: #cc66cc;">20.0</span>, <a href="http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=PI"><span style="color: #0000A0;font-weight: bold; text-decoration: none;">PI</span></a>,<span style="color: #cc66cc;">1.0</span><span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>
    <a href="http://wiki.secondlife.com/index.php?title=sensor"><span style="color: #00A0A0;font-weight: bold; text-decoration: none;">sensor</span></a><span style="color: #66cc66;">(</span><a href="http://wiki.secondlife.com/index.php?title=integer"><span style="color: #007700;font-weight: bold; text-decoration: none;">integer</span></a> total_number<span style="color: #66cc66;">)</span>
    <span style="color: #66cc66;">{</span>
        <span style="color: #FF7700;">// Get position of detected owner</span>
        <a href="http://wiki.secondlife.com/index.php?title=vector"><span style="color: #007700;font-weight: bold; text-decoration: none;">vector</span></a> pos <span style="color: #66cc66;">=</span> <a href="http://wiki.secondlife.com/index.php?title=llDetectedPos"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llDetectedPos</span></a><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">)</span>;
        <span style="color: #FF7700;">// Offset back one metre in X and up one metre in Z based on world coordinates.</span>
        <a href="http://wiki.secondlife.com/index.php?title=vector"><span style="color: #007700;font-weight: bold; text-decoration: none;">vector</span></a> offset <span style="color: #66cc66;">=<</span><span style="color: #cc66cc;">-1</span>,<span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">></span>;
<span style="color: #FF7700;">//        offset = offset*llDetectedRot(0);  //Adding this line will orient the follower relative to the owner's position.</span>
        pos<span style="color: #66cc66;">+=</span>offset;
        <a href="http://wiki.secondlife.com/index.php?title=llMoveToTarget"><span style="color: #A00000;font-weight: bold; text-decoration: none;">llMoveToTarget</span></a><span style="color: #66cc66;">(</span>pos,<span style="color: #cc66cc;">0.4</span><span style="color: #66cc66;">)</span>;     
    <span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}</span></pre>
    <br>
  </body>
</html>