When an AI turret has been built to have limits for traversing left and right, instead of moving and firing until it reaches the limit, it just spazzes out and moves left and right very quickly when you get close to it. Otherwise, it just sits there and does nothing. Only when you get directly in front of it does it start shooting a short burst.
A test can be used with attached ship.
1. set self in god mode
2. spawn ship as pirate
3. fly around the turrets on the top.