Aviri Posted August 24, 2015 Share Posted August 24, 2015 I need either a tutorial link or help on how to correctly open a door. Here is my current code, and it does not work due to it opening other doors. private void checkDoor() { Entity door = objects.closest(true, 6106); if (door.exists()) { log("Opening door."); door.interact("Open"); } else log("Cannot find door."); } Is there anyway to specify which door I need opened? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Flamezzz Posted August 24, 2015 Share Posted August 24, 2015 doorHandler.handleNextObstacle(position) or doorHandler.handleNextObstacle(entity) Where position is the position you want to walk to. Make sure the object type of the door = 0, you can use the entity debugger to do this. Quote Link to comment Share on other sites More sharing options...
Arctic Posted August 24, 2015 Share Posted August 24, 2015 6 Quote Link to comment Share on other sites More sharing options...
Jams Posted August 24, 2015 Share Posted August 24, 2015 all those retarded fucken egg videos r not funny pls stop 1 Quote Link to comment Share on other sites More sharing options...