NPC chooses seats

Hey there! I am pretty new with working with NPC’s, and I need some starter guides on where to start.

My game plan is pretty much a sandbox tycoon, where the player can place down seats for NPC’s. My problem is I don’t know where to start to code so that the NPC’s will choose where they sit at. I already know the basics of NPC’s, pathfinding, and how to spawn them randomly etc… I just need some help to add the “pick a seat” coding part of the npc.

An example of what type of coding I am looking for is similar to Cabin Crew Simulator so when they start “loading the passengers” the NPC’s go to their assigned seats.

I am not looking for a full script, I just need some starter guides on where would I start.

You could start by looking up “Pathfinding” on YouTube. That might give you some interesting information about working with NPC’s.