I am now trying to make this:
player go and pick up a box/key , and then carry it visble to another point and then set it down.


But how /what type of code do I need for carry a object visible from one place to another?
I have this code for picking up a key from aum 78, it works fine.
Code:
//attach to they keys you whant to use
action my_key()

{


       set(my, PASSABLE);

       while (!player) {wait (1);} // wait until the player is loaded

       while (vec_dist (player.x, my.x) > 50) // this loop runs until the player picks up the key

       {        

               my.pan += 5 * time_step; // 5 gives the rotation speed of the key

               wait (1);
               
//						
       }

       // the player has got the key here

       got_key += 1; //add 1 key more
       
wait(1);

       set(my, INVISIBLE);
       

}



A6 and A7 Commercial
-------------------
Programmer always searching for more to learn and understand. smile