Aviri Posted August 24, 2015 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.
Flamezzz Posted August 24, 2015 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.
Jams Posted August 24, 2015 Posted August 24, 2015 all those retarded fucken egg videos r not funny pls stop 1