My problem is, is that it transfers it to only one extension
extension[0]
Posts made by ArisingSun
-
HOW do i tranfer energy from a creep to all extensions
-
RE: structure.transferEnergy not only to creeps
IT would be to easy to fill up an entire row of extensions doing that!
My advice place a carry creep in between the structures and just tell it to transfer to the next one over unless it's full.
but still carry the energy because the creeper is still a storage device. also tell the creep to pick up its energy when it dies to be replaced! -
RE: HELP! Extension not extracting!
(SOLUTION)
MY controller level is 2 so that only leaves me with about 5 extensions. but custom lets me spawn as many as i want!
So the game is only letting me use the 5 that are allowed and the rest are ignored!
WOW i love figuring things out on my own! -
RE: HELP! Extension not extracting!
further more I tested a spawn with 30 extensions with the creeper being
3 WORKS and 10 MOVES
-
RE: HELP! Extension not extracting!
Also does the extension need to be at a certain range withing the spawner
-
HELP! Extension not extracting!
I'm in a simulation testing out the extensions but when i try to spawn an expensive creeper, it won't extract the energy from he extension.
If i need to add code for the spawn to use the extension plz send me a link thanks!
-
RE: Renaming creeps
scratch that would this be an example
Memory.creeps."W0".role = 'harvester'); -
RE: Renaming creeps
thanks for the info @xoposhiy
also could you give me an example of using creep.memory that i'd love to learn!
i'm currently learning JS in code academy and applying what I learn here. I'm improving slowly but surely! -
RE: Renaming creeps
i noticed that all the harvesters named W-(#) and with a harvester role stopped moving
and the ones without are normal! -
Renaming creeps
How would i rename i creep i thought it would be something like this
Game.creeps.B-0.Name = 'B0';