Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question What's the best way to make what I want?

Discussion in 'Editor & General Support' started by NikitaBel, Oct 21, 2020.

  1. NikitaBel

    NikitaBel

    Joined:
    Jun 27, 2020
    Posts:
    3
    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.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,780
  3. Deozaan

    Deozaan

    Joined:
    Oct 27, 2010
    Posts:
    707
  4. Oksana-Iashchuk

    Oksana-Iashchuk

    Joined:
    Sep 10, 2012
    Posts:
    126