Announcement

Collapse
No announcement yet.

Sandbox Spawner

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sandbox Spawner

    Hi, I was wondering how can I get things to spawn throughout the game constently and dependent on where the character is. Like a sandbox game where things spawn constently and when out of FOV of the player. Like GTA or L4D. Where there is no REAL spawn point for anything but the player. Any idea how I can pull that off?

    #2
    Derp… ehm… code it?


    To put it simple:
    Run at regular intervals through all PathNodes (yeah, you should still have those, otherwise it would be the living hell to code such a system) and check if the player has a LoS to them. If not, you can spawn stuff there.

    Comment


      #3
      Hmm... A simple enough concept. Ty Crusha. But what would be the best kind of class to create this code in? Game type? UTBot?

      Comment

      Working...
      X