Jump to content

Can't open only 2 doors?


plekstw
 Share

Recommended Posts

Yes, i use his solution in my script mate, still problem only with these 2 doors. It can open 3/4 diffrent doors, just wont open these exact 2


Pretty sure Flamezz gave you the solution in your last thread

if(knight != null && !getMap().canReach(knight) && !myPlayer().isMoving()){
            if(doorHandler.handleNextObstacle(knight)) {
                if (camera.toEntity(door)) {
                    if (doorHandler.handleNextObstacle(door)) {
                        new ConditionalSleep(1000) {
                            @Override
                            public boolean condition() throws InterruptedException {
                                return door.hasAction("Close");
                            }
                        }.sleep();
                    }

                }
            }
        }

 

Edited by plekstw
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...