Based on the Searchlight mod by DukeDublin, now made compatible with 2.0 & Spaceage! Build long range Searchlights that track enemies, especially fun with the Diurnal Dynamics mod
If you open the turret inventory, you can set the target prioritisation of the turret and tell it to ignore all things not selected there.
Unless you mean something else?