Advertisement
salahzar

vai a percorso versione semplice

Jan 26th, 2014
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. list destinazioni=[
  2.  <64.691162,85.801987,22.183308>,
  3.  <55.000000,98.500000,22.183308>,
  4.  <67.500000,92.500000,22.183308>,
  5.  <71.000000,85.500000,22.183308>,
  6.  <64.691162,85.801987,22.183308>
  7. ];
  8.  
  9.  
  10.  
  11. default
  12. {
  13.    touch_start(integer count)
  14.    {
  15.        integer i;
  16.        for(i=0;i<llGetListLength(destinazioni);i++)
  17.        {
  18.            vector destinazione=llList2Vector(destinazioni,i);
  19.            while(llVecDist(destinazione,llGetPos())>.1)
  20.            {
  21.                 llSetPos(destinazione);
  22.                 llSleep(0.1);
  23.             }
  24.         }
  25.    }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement