Jump to content

Local area & positions


CanCo

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...