This works nicely! But apparently my problem was my collision avoidance system. AI was trying to aim at the objectives but as soon as it was alligned to shoot, it detected the objective as an obstacle and turned away. Solved it by using 2 different avidance systems: one for the envirnment with a lot more reach, and another one for the objectives with less reach to let the AI shoot.