August 15, 20178 yr How can I use local titles instead of the set tiles eg. in an instance area the local tiles are always the same, but the main tiles change so it is easier to use local tiles. (EDIT: in this instance anyway, not sure about other instances) How can this be done? Current: Area area = new Area(x, y, x, y); Is somthing like this possible: Area area = new Area(LocalX x,LocalY y,LocalX x,LocalY y); Edited August 15, 20178 yr by CanCo
August 15, 20178 yr public static Area SafeVarrock = new Area(3192, 3351, 3206, 3345); thats a example of how to set a area thwen you can call on the area latr
August 15, 20178 yr Author 32 minutes ago, JohnDoe1 said: public static Area SafeVarrock = new Area(3192, 3351, 3206, 3345); thats a example of how to set a area thwen you can call on the area latr Yes i know that is what i posted. What i am looking for is not area using main tiles but using local tiles that are inside instance, because main tiles change in instances but local tiles stay the same. Edited August 15, 20178 yr by CanCo
August 15, 20178 yr Constructors are based off of type, not label? You would need to convert Local X/Y by adding Base X/Y to it.
August 15, 20178 yr 1 hour ago, CanCo said: How can I use local titles instead of the set tiles eg. in an instance area the local tiles are always the same, but the main tiles change so it is easier to use local tiles. (EDIT: in this instance anyway, not sure about other instances) How can this be done? Current: Area area = new Area(x, y, x, y); Is somthing like this possible: Area area = new Area(LocalX x,LocalY y,LocalX x,LocalY y); Use 1 object in the local area that has a fixed position as your 'base' position, and calculate the area relative to that object
August 15, 20178 yr You can also create your own 'localArea' API that act the same as OSBot's Area API.
Create an account or sign in to comment