phBot Plugins
Search…
Paths
This API allows you to use path finding to create a path to a destination.

generate_path(x, y)

Usage

generate_path(-1207, 2332)

Returns

None or a list of tuples containing the walk path. Cave paths will have an extra field at position 0 in the tuple for the region. Teleporting is not supported.
1
[(-1183, 2299), (-1193, 2309), (-1202, 2320), (-1205, 2328)]
Copied!
Last modified 2yr ago
Copy link