Skip to content

Spawn Wave

A wave on schedule is the game's business. A world processor can call one early or drop it somewhere else

spawnwave 10 10 false
Field What is in it
first and second the drop point in tiles
third whether it is a natural wave

natural = true means “let the next wave come”. No point is needed then: the game does exactly what the “call wave” button on a core does — the wave counter goes up and the enemies come by their own routes.

natural = false means “drop the current wave’s roster right here”. The wave counter does not move and the schedule is not disturbed: the units that this wave would have brought simply appear at the given point, with a little scatter.

  • a script: “after the third task the base is attacked” — an event, not a schedule;
  • a drop off to the side: the enemy appears from where the player is not looking;
  • hurrying things along: the wave comes early, when the player is ready for it.

Unofficial fan project, not affiliated with Anuke. Mindustry sprites, fonts and translations © Anuke, used under GPL-3.0; Fira Code under OFL-1.1. Site code is GPL-3.0.