Hmm ok,
what this does ?
vec_set (temp.x, my.x);
vec_sub (temp.x, you.x);
vec_to_angle (you.pan, temp.x);
Is that so that de turret slowly turns facing the player ?
what i have now is when im in range (even when im behind it) it faces me in <1 sec. without slowly rotating >.< very ugly

I want it to slowly face me (and when im behind it must nog detect me)