bak 2 Posted January 6, 2019 Is it possible to get the X,Y coordinates of a gameObject or NPC on the screen?
jarred788 9 Posted January 7, 2019 ya you should be able to easily. Not sure what these return but they sound like what you are looking for. yourObject.getLocalY() yourObject.getLocalX() yourObject.getGridX() yourObject.getGridY() https://dreambot.org/javadocs/ look at api under gameobjects.
Xephy 237 Posted January 7, 2019 Both of the things you've listed fall under the Entity parent class. You can call Entity#getTile#getX or getY accordingly to be given the proper X and Y coordinate.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.