1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question Navigation to specific coordinate on minimap

Discussion in 'Developer Support' started by lb25, Nov 10, 2019.

  1. lb25

    Joined:
    Feb 9, 2019
    Messages:
    44
    Likes Received:
    3
    I am writing to a script bot atm and have ran into a navigation issue when I create a BresenhamPath. Specifiically I generate the path to a specific Coordinate and it obviously creates a point between where my player is and the point is, though always clicks outside the target room on the first click. I can see the point on the minimap and instead of making a bresman path, I would like to simply click the location on the map instead. Is this possible?

    I have seen that I can use the Coordinate.click() method, but that only works in viewpath instead of on the MiniMap.
     
  2. Swych

    Joined:
    Dec 9, 2016
    Messages:
    3,057
    Likes Received:
    1,032
    If it's a specific path, just go along the PredefinedPath route. You can control it easily that way.
     
  3. lb25

    Joined:
    Feb 9, 2019
    Messages:
    44
    Likes Received:
    3
    For anyone that finds this in the future, im a bit of a peanut...


    Coordinate c = new Coordinate(3267, 3232, 0);
    c.minimap().click();
     
    Jhash likes this.

Share This Page

Loading...