Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to spawn enemies around a map strategically, randomly, and reasonably?

Asked by
sheepposu 561 Moderation Voter
4 years ago
Edited 4 years ago

I want to spawn some enemies around the ground of a map, strategically as in not clumped up, and random. If someone can provide an explanation of how this would be done then I can write all the code for myself. Also keep in mind that it's in a city with buildings, though I think all of them are hollow.

0
Well for using a monster to spawn at strategy places you would need use math.random(), think like this you create 3 parts anchored and Invisible with no Collision and you would add all of the 3 parts at a group, add the enemy at ServerStorage and you could put at the spawn players a Part with a OnTouch event to select one of these 3 parts and refer to the monster's name and he spawns pingopingo2 2 — 4y
0
I was thinking about doing something like that, I guess that's what I'll do sheepposu 561 — 4y

Answer this question