So, I need some help creating AI for my game. I'm going to include my .capx so its not so confusing. Basically, I need the enemies (which are brown tanks) to rotate towards the player(Big green tank) and then shoot at the player. I got the shooting part figured out, but the rotating is not working. I've already tried an attempt at this, but its not working so good. The problem I faced with it was that I couldn't implement it to other enemies in the game. Also, the way the sprites are drawn are throwing me off.
So if anyone can figure out how to make this and be able to transfer easly to other enemies, I would be happy
P.S I'm using the battlefield art pack that is included when you buy construct 2 standard license.