I've been working on a top down game with a pretty simple A.I, something about the enemy going straight into the player in case it's state let's it do this action, then i've started to code the ranged enemies, wich should run from the player if it's to close to them, but there's a problem, i'm...