Jump to content

[Scripting] Area Guide


Recommended Posts

Posted (edited)

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
Posted

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.

Posted

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.

dont think there is a site but there a program called dunkPathMaker doesnt quite support OSBot  but should get the tiles for you

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

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