I'm trying to make an enemy react to specific situations, and with 1 enemy it works perfectly... but now i'm trying to add more enemies into the game and it works terrible...
I've made other minigames like this and I've managed to make each entity behave independently... and I don't understand why this isn't working here.
Right now what the enemy can do is (when there is only 1):
0 spawn from "trigger". (so in order to make more mobs, you only need to make more triggers, it's important)
1 when too far, it gets closer
2 if close enough and you're in sight, it shoots at you.
3 If it can't see you, it wonders around
4 it doesn't get stuck in obstacles.
dl.dropbox.com/u/20613220/mob_behavior.capx
help -_____-'