https://www.scirra.com/tutorials/474/pa ... e-of-sight
thanks but I already have path finding and line of sight events it was working till I created other enemy's and then the enemy attacks only the other enmeys
Maybe you forgot to add the condition:
*(Pick nearest/furthest) to (enemy.x, enemy.y)
If still not enough, tell me. I'll try making an example but I suggest you to provide a sample/similar event .capx file so it'll be direct to the point.
I never tried that but go it working sort of the event sheet is a mess