I've done a smart form of AI for a game, but I'm having a problem getting multiple enemies to work properly. One enemy alone works fine, but I want separate enemies to each chase the player if they can see him. Can anyone help me get an enemy to attack when there's more than one on the layout?
I'd like for an enemy to see the player and attack without making all of them attack. If it's possible with the way I set it up, could someone tell me how?
http://www.mediafire.com/?ibqwh9djubwjbg3
Note: This is called a tutorial because I planned to make a tutorial with this until I discovered this bug. If someone can help me fix this, I'll finish the tutorial and release it as soon as I can, unless there's already something like this that I missed in a search.