replace:
if distance_to_object(target)<=700
with:if distance_to_object(target)<=700 && (image_angle>point_direction(x,y,target.x,target.y)-20 or image_angle<340-point_direction(x,y,target.x,target.y)) && (image_angle<point_direction(x,y,target.x,target.y)+20 or image_angle-340>point_direction(x,y,target.x,target.y))
Not working. The turrets still fire as though they had no restriction. I even tried lowering the degree to + and - 5 degrees.



Find content
Not Telling






