Jump to content
terig78

Forcing Zombie Spawns in Object Areas

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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...