Is there a way to make pathfinding prioritize one or any instance of an object?
For example, in my space game I have multiple enemies that will be in different locations. When I have an ally ship spawn, I want it to focus one or any of these enemies and start chasing it. I have it set to find a path to Enemy.X, Enemy.Y, but since there are multiple enemies in play, the pathfinding fails to work.
Is there a way to have pathfinding pick one particular instance of an object to follow?