Jump to content

Walking with doors and trapdoors


Recommended Posts

Posted

Hey, so I'm building a script that requires me to account for trapdoors and doors. I am here seeking help with this, I'm not sure at all what to do here. Do I need to make a walking script to take it from the bank to the trapdoor, then the trapdoor to the spot I need. And how do I deal with doors?

 

So I guess, question A is: How do I deal with trapdoors? Is there an easy way to do it?

 

Question B: How do I deal with doors? Making sure it's open and that the bot doesn't get stuck

Posted

check if the door with action "Open" exist at the position they should exist at, then handle it (open them) This is the simple way. 

The more advanced way would be finding all obstacles along the path you recorded, and handling them respectively. (if can't reach a spot that is supposed to be reachable, find closest obstacle that might be intercepting our walking, and interact accordingly.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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