Jump to content

Forcing Zombie Spawns in Object Areas


terig78

Recommended Posts

I understand that i can make custom spawns with ZombieZoneDefintion.lua

ZombiesZoneDefinition.MyOffice = {
	toSpawn = 3,
	chanceToSpawn = 100,
	OfficeWorkerSkirt = {
		name="OfficeWorkerSkirt",
		toSpawn=100,
		gender="female",
		mandatory="true",
	},
	OfficeWorker = {
		name="OfficeWorker",
		toSpawn=75,
		gender="male",
		beardStyles="null:80",
		mandatory="true",
	},
};

Anyone know where im going wrong sometimes they dont spawn or there is just a few? is there a hard cap on zombie spawns or am i going crazy?

Link to comment
Share on other sites

spawnHorde = function()
	addZombiesInOutfit(x, y, z, amount, "OfficeWorker", nil)
	addZombiesInOutfit(x, y, z, amount, "OfficeWorkerSkirt", nil)
end
Events.LoadGridsquare.Add(spawnHorde)

Still not sure what the 6th perameter is though

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...