In TD it worked on a basis of "first the enemy will run by you and attack the tower, then it will come back and attack you", because unless you tagged an enemy as it spawned in, you weren't it's...