Jump to content

[Scripting] Area Guide


BotRS123

Recommended Posts

In the OSBot client, go to Advanced Settings and turn on Positions.

 

For getting an area use this:

 

Go to lowest Y and X co-ordinate (write it down).

Go to highest Y and X co-ordinate (write it down).

 

Then put it like this in the code:

 

private Area (NAME) = new Area(highestX, highestY, lowestX, lowestY);

 

That will give the rectangular area.

Edited by Rand
Link to comment
Share on other sites

In the OSBot client, go to Advanced Settings and turn on Positions.

 

For getting an area use this:

 

Go to lowest Y and X co-ordinate (write it down).

Go to highest Y and X co-ordinate (write it down).

 

Then put it like this in the code:

 

private Area (NAME) = new Area(highestX, highestY, lowestX, lowestY);

 

That will give the rectangular area.

I was aware of that, I was hoping to find a site to do that. Similar to how some sites have item, objects, and npc IDs. Thanks anyways.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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