hi,
thanks for the reply. but i managed to make it work with c_scan and c_trace and my turrets can track my player. However, I have a few queries regarding that:
1) how do I check for the distance between the turret and the player? am I supposed to use vec_dist?
2) how do I make the turret know which angle to rotate? i tried to use this:
Code:
angle = acos(vec_dot(v1,v2)/(vec_length(v1)*vec_length(v2)));


but it doesn't work.

Any advice would be appreciated