Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TJ-Wittliff opened this issue May 22, 2022 · 0 comments
Open

Comments

@TJ-Wittliff
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant