Jump to content

Creating a new area for a script


Recommended Posts

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

Posted

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?

 

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