None playable characters Spawning

So i am trying to spawn NPC.s from the Npc spawner by using Squares i was wondering how many Squares i should use to spwn NPCs
heres t pics of my map if you dont’ t what it looks like

That could depend on how many enemies you want spawned, how often the spawners spawn an enemy and how distributed you want the spawned enemies.

i am using ObjectSpawner i want to use 5 or 10 npcs every 5 sec wuth a limit of 100 and around the city what do think?

update
***** me i just saw your reply to MrMen after i posted my message
Well whatever my message is still relevant

There is behavior called object spawner

Which you give to some object
And now that object works as spawner where it don’t spawn objects in some position on map
BUT in some offset position from spawner

When you use it you will get it very fast
But for now think of it like spawn object 20 pixels to the right from spawner object

Like that

SO you could have one spawner
And have multiple events to spawn objects at different offsets from spawner

However not stupid idea would be to have multiple spawners and have each spawner manage only some area

You added some pics but i do not get it?
Does white areas are where NPCs will spawn or they will spawn outside of them?

Well whatever i say try object spawner
It have action to periodically spawn objects
Even condition to check if spawner just spanwed something
So you could do at that moment something to spawned object

the white place’s are walls i want to spawn them on the road

So more sense would be to either
A - put spawners at center of white rectangles and offset spawning points of npcs
or
B - put spawners on crossroads and just spawn npcs

thanks i will try that :+1:

1 Like