The UI already implements the methods Flag.remove
, ConstructionSite.remove
and Structure.destroy
in button form when the appropriate objects are selected. How about Creep.suicide
?
Posts made by axolotl
-
Creep.suicide method through UI
-
RE: Ignoring swamp & road costs with findPath
Haha, I'm 100% sure that this didn't work yesterday, but I'll take it
-
RE: Ignoring swamp & road costs with findPath
Ah, I see. Wouldn't that need something like a
.lookAtArea
call across the whole room? I'm hesitant to include a secondary pathfinding algorithm for that reason, not sure what your thoughts are. -
Ignoring swamp & road costs with findPath
I've tried several times to figure out how to make
findPath
calls ignore tile weights (e.g.ignore
andheuristicWeight : 0
), but the path returned never gives the optimal result. Is anyone else having this problem?