SRL Archive - Help

Really Easy Question.


KeepBotting

2012-02-04 20:36:47

I should probably be able to find this out on my own…but how do I make it so that FindObj only searches within specific co-ordinates on the Runescape window?

lilcmp1

2012-02-04 20:44:13

It's something like FindObjEx

Search findobj and then double click on it and you can scroll through the list for what you need/how to use it ^.^

Er1k

2012-02-04 23:14:11

FindObjEx is correct. Your subarea of client goes to xs, ys, xe, ye

function FindObjEx(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray;
Tol, Step, xs, ys, xe, ye: Integer): Boolean;

But you should try to forget about FindObj and start learning FindColorsTolerance :D It's not that hard and you can get a lot more flexibility from using TPAs.