If you had a few walls about the place and place some spots to hide.
Have all spots set an instance variable to their distance to the enemy if they don't have a line of sight to the enemy.
If the spots do have a line of sight to the enemy, set their variable to something like 2000.
When an enemy has line of sight to enemy1, have enemy1 pick the lowest instance variable and set a path and move to the spot with the lowest instance variable.
One problem with this is the enemy1 can make a path that moves through the enemy.
Some solids will have to be made that stop a path being made that moves towards/thru the enemy position.