Zet0rz / nZombies-Unlimited

nZombies Unlimited
MIT License
43 stars 15 forks source link

Tools & Entities: Spawnpoints #37

Closed Zet0rz closed 5 years ago

Zet0rz commented 5 years ago

Spawnpoints are one of the most basic entities that are required for a Config to make sense. However, they are not as simple as just being entities that exist somewhere in the map. They are two-fold: in Sandbox, they are simply entities with no purpose but to carry data. In nZombies, they are not entities at all, but rather code objects that contain distribution data for spawning zombies. On top of that, a handy weighted-random using the distribution will work nicely for bosses or other specially-spawned entities.

Behavior of the nZombies objects