hello,there was a tutorial in aum about a code that an actor follows the player! the problem is, i cant figure out how to make it that the follower follows the placer but does not change his PAN!
here is the code:

Click to reveal..

action slave
{
var slave_target;
var slave_speed;
my.passable = on;
while (robot_boss == null) {wait (1);}
while (1)
{
my.tilt = 0;
slave_target.x = robot_boss.x; // stay 50 quants
slave_target.y = robot_boss.y; // behind robot_boss
slave_target.z = robot_boss.z;
slave_speed.x = 5 * time;

vec_set (temp.x, slave_target.x);
vec_sub (temp.x, my.x);
vec_to_angle (my.pan, temp);

ent_move (slave_speed, nullvector);

my.tilt = 0;
wait (1);
}
}



the slave model follows to the player and stops,if he reached the salve target! The slave target is the position of the robot boss!
So i want that the slave does not look the player! it have to rotate while following the robot boss!
how can i make this?
greetings ness