Lilmk Posted November 24, 2015 Share Posted November 24, 2015 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 Quote Link to comment Share on other sites More sharing options...
Chris Posted November 24, 2015 Share Posted November 24, 2015 For doors that need to be opened while walking a path You could do Door If door not null and has action "open Interact. Else Walkpath Quote Link to comment Share on other sites More sharing options...
Nitrousek Posted November 24, 2015 Share Posted November 24, 2015 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. Quote Link to comment Share on other sites More sharing options...