Jump to content

Walking with doors and trapdoors


Lilmk

Recommended Posts

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

Link to comment
Share on other sites

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.

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.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

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