Prolax Posted January 27, 2016 Posted January 27, 2016 final Area YEW_AREA = new Area(3202,3498,3223,3506); Hi, I have a quick question. Is the Area build on just random tiles around your player? Or what is the adviced way to get the values? Many thanks.
Eagle Scripts Posted January 27, 2016 Posted January 27, 2016 final Area YEW_AREA = new Area(3202,3498,3223,3506); Hi, I have a quick question. Is the Area build on just random tiles around your player? Or what is the adviced way to get the values? Many thanks. That area will be positioned between the two coordinates you just defined it as --> 3202,3498 and 3223,3506 Wether your player is in that current area or not, the area will keep existing ofcourse. I'm not quite sure what your question is so if this hasn't helped you, please tell me.
Vilius Posted January 27, 2016 Posted January 27, 2016 (edited) Your question doesn't really make sense, but you basically add the opposite corners of a rectangle/square. So you get those coordinates from the game and you place them in the correct place as "x1, y1, x2, y2" final Area YEW_AREA = new Area(x1, y1, x2, y2); Edited January 27, 2016 by Vilius
Prolax Posted January 27, 2016 Author Posted January 27, 2016 Ok, thanks. The question actually is how to get the values of x1, y1, x2, y2 Do you just move your player to the location and get the values of the tile where it stands?
Nora Posted January 27, 2016 Posted January 27, 2016 (edited) Ok, thanks. The question actually is how to get the values of x1, y1, x2, y2 Do you just move your player to the location and get the values of the tile where it stands? Move your mouse to one corner tile and get x1 and y1, then move your mouse to opposite corner tile and get x2, y2. Edited January 27, 2016 by Nora
FrostBug Posted January 27, 2016 Posted January 27, 2016 You can use the Entity Debugger tool in the client to show mouse tile position