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

Question Path through obstacles

Discussion in 'Developer Support' started by tztok, Dec 20, 2016.

  1. tztok

    Joined:
    Nov 7, 2015
    Messages:
    31
    Likes Received:
    5
    I'm trying to walk to a certain point. But on the route contains one door.
    Is there something to automatically open the door?

    Code (Text):
    1.  
    2. private void walkToFurnace() {
    3.     Path path = Traversal.getDefaultWeb().getPathBuilder().buildTo(Random.nextElement(Constants.FURNACE_AREA));
    4.     if (path != null) {
    5.         path.step();
    6.     }
    7. }
    8.  
     
  2. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Default web should handle the door. If not, take a screenshot of the door open and close, the coordinate of the closed door and leave it here with a tag for slash
     
  3. tztok

    Joined:
    Nov 7, 2015
    Messages:
    31
    Likes Received:
    5

Share This Page

Loading...