Lists and NavMesh with gameobjects with same tag?

So I have created a script for a RTS game. All units have same tag. When clicking on one gameobject, and clicking to move, they all move including ones I did not select.

Good day @Dr_Kiefer !

I think you need to just create a bool variable (like “ImSelected”) in each unit to know if they are selected, before use the “SetDestination()” of the NavMeshAgent.

Is the easyiest way to do it. And this allow you to make systems to Select multiple units and easy move them all.

Upvote! & Ask if need more help using the @tormentoarmagedoom

Bye! :smiley: :smiley: