No its something different. i think complete something different.
rezzed the cube just for a test again. it did not got phyics.
when am changing something in script and then save it started to work.
Sounds like scripts dont get executed at rezz automatic. (run where enabled in lsl editor)

On 2012-03-29 18:38, Garmin Kawaguichi wrote:
Look at http://opensimulator.org/mantis/view.php?id=5947
May be it is on the same idea ; if so, add comment to the Mantis
GCI

    ----- Original Message -----
    *From:* R.Gunther <mailto:ri...@rigutech.nl>
    *Sent:* Thursday, March 29, 2012 1:40 PM
    *Subject:* [Opensim-dev] MoveToTarget broken ?

    I start to work again with phyical objects. But many things that
    worked before,
    Dont work pretty good anymore. or seems to stop working at all.
    In this case, the following script seems to fail in some way with
    the march version of
    osgrid opensim version. I have tried the same script in 0.7.3RC2
    local stanbdalone and there it still works.
    Also my own verhicle works not good anymore , for some reason the
    event "at_target(" dont get triggered anymore.

    this script i tried in my sandbox. sandbox palza 1 & 2 and OKC
    sandbox. it dont work.

    default  <http://wiki.secondlife.com/index.php?title=default>
    {
         state_entry  <http://wiki.secondlife.com/index.php?title=state_entry>()
         {
             vector  <http://wiki.secondlife.com/index.php?title=vector>  pos=  
llGetPos  <http://wiki.secondlife.com/index.php?title=llGetPos>();
             llSetStatus  <http://wiki.secondlife.com/index.php?title=llSetStatus>(STATUS_PHYSICS  
<http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=STATUS_PHYSICS>,TRUE  
<http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=TRUE>);
             // Little pause to allow server to make potentially large linked 
object physical.
             llSleep  <http://wiki.secondlife.com/index.php?title=llSleep>(0.1);
             llMoveToTarget  
<http://wiki.secondlife.com/index.php?title=llMoveToTarget>(pos,0.4);
             // Look for owner within 20 meters in 360 degree arc every 1 
seconds.
             llSensorRepeat  <http://wiki.secondlife.com/index.php?title=llSensorRepeat>("",llGetOwner  
<http://wiki.secondlife.com/index.php?title=llGetOwner>(),AGENT  
<http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=AGENT>,20.0,PI  
<http://wiki.secondlife.com/index.php?title=Special:Search&go=Go&search=PI>,1.0);
         }
         sensor  <http://wiki.secondlife.com/index.php?title=sensor>(integer  
<http://wiki.secondlife.com/index.php?title=integer>  total_number)
         {
             // Get position of detected owner
             vector  <http://wiki.secondlife.com/index.php?title=vector>  pos=  
llDetectedPos  <http://wiki.secondlife.com/index.php?title=llDetectedPos>(0);
             // Offset back one metre in X and up one metre in Z based on world 
coordinates.
             vector  <http://wiki.secondlife.com/index.php?title=vector>  
offset=<-1,0,1>;
    //        offset = offset*llDetectedRot(0);  //Adding this line will orient 
the follower relative to the owner's position.
             pos+=offset;
             llMoveToTarget  
<http://wiki.secondlife.com/index.php?title=llMoveToTarget>(pos,0.4);
         }
    }


    ------------------------------------------------------------------------
    _______________________________________________
    Opensim-dev mailing list
    Opensim-dev@lists.berlios.de
    https://lists.berlios.de/mailman/listinfo/opensim-dev



_______________________________________________
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

_______________________________________________
Opensim-dev mailing list
Opensim-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-dev

Reply via email to