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.
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 usemoveByPath
instead; this is used internally bymoveTo
.