• Zombie spawn
    3 replies, posted
How would one go about making a zombies spawn randomly at a few separate destinations. And, after about half of the zombies die, a new wave would be spawned. Thanks alot! Also, these zombies are spawned as entites instead of npcs.
For random destinations, make a table of your vectors, and when the zombies are to spawn, do a randomizer for the table for the zombie spawn vector. Do a check for how many zombies there are, and if they are less than or equal to your desired amount, then run that function that spawns the zombies.
Oh, that's it? Thanks Wait how do I make them despawn?
in the check for how many zombies there are I believe you should be able to remove all npcs.
Sorry, you need to Log In to post a reply to this thread.