What's the best way to dynamically spawn a set amount of creatures?

I’m creating a Creature based game where with each successive wave, the amount of spawned creatures will increase by a small amount up to a maximum of 50.

I’m leaning towards Creature Placers but that seems really inefficient!

  • 50 devices.
  • Location is fixed.
  • No dynamic control of type.

Creature Spawners are more flexible but are Wave Timer based and can easily overshoot the amount you need (even counting the creatures and immediately disabling the device).

Any insight here would be great! I’ve seen similar games of this genre in FN and wondered how it’s done.

:vulcan_salute:

Disclaimer: I’ve never used both before, just quickly scanned the verse APIs and the docs.

You can place up to 20 Creature Placers on your island.

So there seems to be a hard limit on creature placers according to the docs.
If the spawn method spawns additional creatures, not just a single creature per device then you can go dynamically very easily. Assuming it does, just call the method as many times as needed, trivial.

As for fixed location. Stick the device to a movable prop and relocate that before initiating a new spawn action.

Just pure theory, I could be all wrong here.

1 Like

This would seem like the correct way but, Creature Spawners only allow for a single creature to exist from it’s spawner at a time. Using Spawn() will eliminate the previously existing creature. :smiling_face_with_tear:

3 Likes

This limit of " You can place up to 20 Creature Placers on your island." seems to just be a lie. This might be some limit that used to be in creative? But you can definitely place how many creature placer as you want, I have tested this. The main issue I have with using them is that they seem to bug out sometimes where they just keep spawning on death of the previous creature.