This API allows you to use path finding to create a path to a destination. These functions can only be called once every 5 seconds.
generate_path(x, y)
Usage
generate_path(-1207, 2332)
Returns
None if the path could not be found, False if 5s have not passed / the character is not in game, 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.
None if the path could not be found, False if 5s have not passed / the character is not in game, or a list of strings with the walk path including teleports and wait commands.