Skip to content

Creep.moveByPath incompatible with path returned by PathFinder.Search #187

Description

@TJ-Wittliff

This is incorrect:

A path value as returned from <a href="#Room.findPath"><code>Room.findPath</code></a>, <a href="#RoomPosition.findPathTo"><code>RoomPosition.findPathTo</code></a>, or <a href="#PathFinder.search"><code>PathFinder.search</code></a> methods. Both array form and serialized string form are accepted.

Creep.moveByPath is unable to accept an array of RoomPosition objects returned by PathFinder.search

Ideally, fix the bug; at least fix the doc to match current state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions