Bobby AI aims towards the marker of an asteroid when attempting to shoot the "target entity".
To reproduce:
1) Place a simple turret on a mothership entity.
2) Make sure the turret contains the following blocks:
- Bobby AI;
- Weapon computer;
- Weapon module.
3) Enable bobby with the following settings:
- Type: Turret;
- Active: Yes;
- Aim At: Selected Target.
4) Enter mothership core.
5) Select an asteroid.
This produces the following results, tested with beam, cannon and salvage beam (the latter is triggered with logic clock and a wireless module).
Beam: https://www.dropbox.com/s/9bewrq4mozizjg1/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202015-07-28%2018.36.41.png?dl=0
Cannon: https://www.dropbox.com/s/ssq2xxlchimncjv/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202015-07-28%2018.56.44.png?dl=0
Salvage: https://www.dropbox.com/s/cvpw5wx0xill5et/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202015-07-28%2018.32.15.png?dl=0
P.S. I apologize for linking screenshots on an external resource, this is the first time I am using the new bug reporting resource and cannot seem to locate the file attachment button.
EDIT: This bug is also true for targeted ships. Turret does not aim at systems when in "Aim At: Selected Target".
EDIT2: Turret is unable to switch to other targets when in "Aim At: Selected Target" mode when they are selected.