Is it possible to delete created creeps? Either through a script or through the GUI?  I could not easily find a way to do this, but it seems like a simple functionality so I imagine it exists, or someone has thought about it or something....
In the Programming Game Screeps I spawn creeps by using:  if(transporters.length < 0 && harvesters.length > 2) { var newName = Game.spawns['SpawnZone'].createCreep([WORK,CARRY,MOVE], undefined, {role: 'transporter'}); co...
Where can I find a list of the constants for the Game object like Game.HOSTILE_CREEPS, Game.MOVE and Game.ATTACK?  I cannot find it on http://screeps.com/docs/...
I'd like to iterate found structures but I don't know what way is the best for this.  I've tried this one:  for (var ext in creep.room.find(FIND_MY_STRUCTURES, {filter: { structureType: STRUCTURE_EXTENSION }})){     console.log(ext.energy...
So I have this creep role called storer that is supposed to go fetch energy from containers and bring it to the storage. However, currently, it finds the container closest by Path and with an energy level greater to a certain threshold so that it doe...
The memory seems to still be reading and writing correctly, but the memory tab always shows the initial state, as though there were no creeps or spawns in the room. It wasn't like this a couple days ago. What do I do? The problem exists in Firef...
So i have been trying this to automatically spawn Creeps in percentage to total living creeps. however when i run this, it just keeps on spawning harvesters, completely ignoring the conditions even though console.log returns the expected results ....
I've tried to program healer creep. Simple task:    find damaged creep. heal damaged creep.  if no damaged creeps were found, return home (hardcoded Spawn1)   Here is my code (I also tried option with Game.CREEPS but it gave same effect):  module...
In the tutorial I'm seeing: Game.HOSTILE_CREEPS  var targets = creep.room.find(Game.HOSTILE_CREEPS);   No where in the docs do I see anything that tells me this is possible. Where would I find out more about these constants?...
So I wanted to start rewriting my code from Screeps using Typescript. But for some reason instead of generating a Javascript code, it generates the same typescript code. Am I missing something from tsconfig.json file?  Left Typescript, right suppose...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.