Jump to content

house?


Recommended Posts

Posted (edited)

How can i let the bot do something in my house (from construction).

if(/*I'm in the house (what code?)*/){

...

}

what should i write there?

because i noticed the Area coördinates change or are my eyes malfunctioning?

In house area is dynamic, because of this, there are methods for this included in the API to combat this :) I would post them but on my phone at the moment.

EDIT: code: getMap().isInHouse();

Edited by Precise

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...