So, I want to make the AI for my game. I want to start simple, so I want the NPC to pick the nearest campfire, choose an unused place and sit. I’m planning to have a lot of NPCs (S.T.A.L.K.E.R. inspired game) so I don’t want them to get into each other’s way, so if there are no free places to sit, the NPC will do something else. So I just want to know what’s the best and preferably simple way to implement this.
P.S. I’m a beginner, so I’d prefer more of a simple way, not necessarily the best one. Also sorry if there are any mistakes in writing, English is not my first language, I tried my best.