SRL Archive - SRL Bugs

FindObjTPA not moving mouse when called


ineedbot

2012-05-24 23:03:08

Is this just me? Or whenever I call FindObjTPA, it just sits there doing nothing?
FindObj is working fine, but FindObjTPA isn't.

if FindObj(x, y, 'hop', TreeColor, 1) then
begin
mouse(x, y, 5, 5, true);
end;

works but

if FindObjTPA(x, y, TreeColor, 1, 2, 15, 60, 50, ['hop']) then
begin
mouse(x, y, 5, 5, true);
end;

doesn't.

Kyle Undefined

2012-05-24 23:16:04

Check the parameters you're passing in.