Zombie Enemy Behaviors - top view shooter

Hello evenyone,
How can I create a enemy behavior just to spawn (anywhere) and go to the players direction. I'm trying to create a game like Minigore. The Control I took from a template and the camera is working well, but I don't know how to make the enemies and the behavior. Are there a template for it?
Thank you.
How can I create a enemy behavior just to spawn (anywhere) and go to the players direction. I'm trying to create a game like Minigore. The Control I took from a template and the camera is working well, but I don't know how to make the enemies and the behavior. Are there a template for it?
Thank you.
Comments
In the player actor, create 2new constrain behaviors. For one of them constrain game.playerx to self.position.x for the other, do the same thing, but instead of x, use y
Then, create your enemy prototype. Inside the enemy prototype create a move to behavior with game.playerx and game.playery as the destination. Do the same thing for the rotate to behavior.