<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    No its something different. i think complete something different.<br>
    rezzed the cube just for a test again. it did not got phyics.<br>
    when am changing something in script and then save it started to
    work.<br>
    Sounds like scripts dont get executed at rezz automatic. (run where
    enabled in lsl editor)<br>
    <br>
    On 2012-03-29 18:38, Garmin Kawaguichi wrote:
    <blockquote cite="mid:2BEAF63D724C48239C5003E52FDAFEFE@Deimos"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <meta name="GENERATOR" content="MSHTML 8.00.6001.19190">
      <style></style>
      <div><font face="Arial" size="2">Look at <a
            moz-do-not-send="true"
            href="http://opensimulator.org/mantis/view.php?id=5947">http://opensimulator.org/mantis/view.php?id=5947</a></font></div>
      <div> </div>
      <div><font face="Arial" size="2">May be it is on the same idea ;
          if so, add comment to the Mantis</font></div>
      <div> </div>
      <div><font face="Arial" size="2">GCI</font></div>
      <blockquote style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT:
        5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
        <div style="FONT: 10pt arial">----- Original Message ----- </div>
        <div style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color:
          black"><b>From:</b> <a moz-do-not-send="true"
            title="rigun@rigutech.nl" href="mailto:rigun@rigutech.nl">R.Gunther</a>
        </div>
        <div style="FONT: 10pt arial"><b>Sent:</b> Thursday, March 29,
          2012 1:40 PM</div>
        <div style="FONT: 10pt arial"><b>Subject:</b> [Opensim-dev]
          MoveToTarget broken ?</div>
        <div><br>
        </div>
        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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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>
        <p> </p>
        <hr> _______________________________________________<br>
        Opensim-dev mailing list<br>
        <a class="moz-txt-link-abbreviated" href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
        <a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-dev">https://lists.berlios.de/mailman/listinfo/opensim-dev</a></blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Opensim-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-dev">https://lists.berlios.de/mailman/listinfo/opensim-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>