Jump to content

Local area & positions


Recommended Posts

Posted (edited)

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 by CanCo
Posted (edited)
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 by CanCo
Posted
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

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