mrbarrybadger
06-02-2012, 05:32 PM
Basically when I run my script it identifies and picks up the object a few times and then this error appears
Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
And it goes to shit :P I'm not sure how to resolve this because im fairly new to writing scripts but here is the code that I think its having problems with and it is the only findobj in the script
var
x, y: Integer;
begin
if FindObjCustom(x,y,['Take'],[2455111,2058038],5) then
thanks in advance
Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
And it goes to shit :P I'm not sure how to resolve this because im fairly new to writing scripts but here is the code that I think its having problems with and it is the only findobj in the script
var
x, y: Integer;
begin
if FindObjCustom(x,y,['Take'],[2455111,2058038],5) then
thanks in advance