screeps-cartographer
    Preparing search index...

    Function followPath

    • Moves a creep along a cached path. If opts.reverse, moves it backwards. Returns ERR_NO_PATH if the cached path doesn't exist, and ERR_NOT_FOUND if the creep is not on the path. In most cases, you'll want to use moveByPath instead; this is used internally by moveTo.

      Parameters

      Returns -2 | -10 | CreepMoveReturnCode | -5