dokato Posted March 20, 2015 Posted March 20, 2015 (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? Edited March 20, 2015 by dokato
Precise Posted March 20, 2015 Posted March 20, 2015 (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 March 20, 2015 by Precise