It is now possible to spawn multiple types of spawnees from a spawner with Spawns.Queue. The order of spawnees in this queue is the order of their respawn.
Spawns still needs to be set to enable the spawner logic and act as a default spawnee.
SpawnsNumber still needs to be set to determine the amount of spawnee slots.
If the length of the queue is longer than the spawner's SpawnsNumber, spawnee after this length will be omitted. If the length is shorter however, the rest of the positions will be filled by the spawnee defined by Spawns. Hence, it's recommended to make them the same.
In rulesmd.ini:
[SOMETECHNO] ; TechnoType
Spawns.Queue= ; list of aircrafts in order
In this case, it'll be built with 5 spawnees in the order of AIRCRAFT1->AIRCRAFT2->AIRCRAFT1->AIRCRAFT2->AIRCRAFT3, and so will be its respawn order if multiple of them being destroyed
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.
Help TwinkleStar to upload these new features
SpawnsNumber
.In
rulesmd.ini
:Spawns.Queue
. The order of spawnees in this queue is the order of their respawn.Spawns
still needs to be set to enable the spawner logic and act as a default spawnee.SpawnsNumber
still needs to be set to determine the amount of spawnee slots.SpawnsNumber
, spawnee after this length will be omitted. If the length is shorter however, the rest of the positions will be filled by the spawnee defined bySpawns
. Hence, it's recommended to make them the same.In
rulesmd.ini
:An example of
Spawns.Queue
:In this case, it'll be built with 5 spawnees in the order of AIRCRAFT1->AIRCRAFT2->AIRCRAFT1->AIRCRAFT2->AIRCRAFT3, and so will be its respawn order if multiple of them being destroyed