Im not sure I get what you mean by you "comment out the my.pan stuff"...
If you mean something like this
Code:
action acao_obst_rampa1()
{
   my.OBJECT_TYPE = OBSTACULO;   //make ME an Obstaculo
   my.TIPO_OBJETO = 4;
   while (!player) { wait(1); }
   while(me)
   {
 //     my.pan += 1 * time_step;
      wait(1);
   }
}
then the oject should not move, no matter what happens in the player action.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial