Jump to content

Creating a new area for a script


fagexjuck

Recommended Posts

7 hours ago, fagexjuck said:

How do I force my bot to move to a certain range on the map?

Area (x1 y1 x2 y2)

What does this mean?

its only 2 points when a square has 4 points

It does have 4 points. Imagine when you set those 2 points they both shoot out lines horizontally and vertically. Then Area will grab where the lines intersect and set the 2 other points where x1 y1 x2 y2 intersect. And boom! Your square/rectangle area has been created.

Link to comment
Share on other sites

Can you guys elaborate further so I can visualize.

I like compiling code in my head. If I have a x1(horizontal)(cut H in half) and y1 (vertical) (cut V in half)

lets say x1 is south west of of grand exchange and it creates a "infinite" horizontal line up to x2?

 

_______________________x2,y2

|                                |

|                                |

|                                |

x1,y1-----------------

like this?

 

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