to have smooth turning:
1. cut-off lines with: vec_set,vec_sub and vec_to_angle and replace with:

vec_diff(temp,player.pos,my.pos);
result = vec_to_angle(my_angle,temp);
sentry_turnto(my_angle.PAN);

2. add function
Code:

function sentry_turnto(angle)
{
angle = ang(angle - MY.PAN);
if (angle > 10) {temp = my._speed;}
else{
if(angle < -10){temp = -my._speed;}
else{temp = my._speed * angle * 0.1;}
}
MY.PAN += temp * time_step *2; //playe with this value to turn faster/slower
}



3. add at the top of script:
var my_angle[3];
define _speed, skill1;


Never say never.