SlashCo Wiki

SlashCo.SpawnGenerators

  SlashCo.SpawnGenerators()

Description

This is used internally - although you're able to use it you probably shouldn't.
Spawns the generators required for the current round.
Forced generator spawn points receive priority.
Each selected generator also receives a randomly selected battery spawn.
Aborts the round if no generator spawn entities are available.