Currently there is no way to use 0 MOVE part creeps along with POSIS due to the lack of ability to specify an exact spawn point, or at least request access to one of the spawns. Depending on execution order, it is possible to never gain access to the desired spawn structure, since the spawn extension keeps taking it for queued creeps.
The best solution I see is to add an optional spawnId field to the spawnCreep options along with a conditionally optional directions array for specifying which direction the stationary creep should be spawned by. The implementation would be required to spawn these creeps from these exact spawns and directions when spawning this creeps. An error would be thrown if directions is supplied without a spawnId.
I can create the PR myself, but I figured I would open an issue for discussion first.
Currently there is no way to use 0 MOVE part creeps along with POSIS due to the lack of ability to specify an exact spawn point, or at least request access to one of the spawns. Depending on execution order, it is possible to never gain access to the desired spawn structure, since the spawn extension keeps taking it for queued creeps.
The best solution I see is to add an optional
spawnIdfield to thespawnCreepoptions along with a conditionally optionaldirectionsarray for specifying which direction the stationary creep should be spawned by. The implementation would be required to spawn these creeps from these exact spawns and directions when spawning this creeps. An error would be thrown ifdirectionsis supplied without aspawnId.I can create the PR myself, but I figured I would open an issue for discussion first.