Function moveByPath

  • Moves a creep along a cached path. If opts.reverse, moves it backwards. If the creep isn't already on the path, it moves to the path first. Returns ERR_NO_PATH if the cached path doesn't exist.

    Parameters

    Returns -2 | -10 | CreepMoveReturnCode | -5

Generated using TypeDoc