I find myself sometimes using findClosest() followed by some method to generate a path to the result. Since findClosest() appears to be using Dijkstra, could we get a variant that returns the path instead of the target?
Khatharr
@Khatharr
2
Posts
755
Profile views
0
Followers
0
Following
Posts made by Khatharr
-
findPathToClosest()
-
RE: attacking controllers
This makes expansion kind of hard for new players. Maybe a solution would be a purge() method for creeps that's like the opposite of upgradeController() and only works if there are no enemy spawns in the room?