Hi,
I would like to use an auto battle system (in 2D Real-Time so whole map is in battle) where you can select wich mob you fight like in this game :
If you check Spider for exemple, the player will move towards the closest Spider it can find.
So first i know the player can't use the move AI (wich i would like if he was able to), so i use a NavmeshDestination.
My probleme is to create a list of Target, filter trough it with bool Variable and then select the nearest GameObject.
I'v come up with this :

I select a combattant and put it in Selected Data : MonsterList, repeat this for each species of mob in the scene, then check bool variable and remove from the selected Data mobs that are false.
Then i select the nearest gameObject.
it's not working but i'm not sure if the problem is the "list of target" i'm making with Select Combatant, or the Select Nearest GameObject node.
Thanks.