Hi,
Here's the problem,
there are two other parameters that you didn't fill in, the color(s) and the tolerance.
This should be
SCAR Code:
procedure DropLogs; // This Drops the logs
begin
if FindObjCustom(x, y, ['Willow logs']) then
DropAll;
end;
SCAR Code:
procedure DropLogs; // This Drops the logs
begin
if FindObjCustom(x, y, ['Willow logs'], [color(s)], tolerance) then
DropAll;
end;
Example
SCAR Code:
procedure DropLogs; // This Drops the logs
begin
if FindObjCustom(x, y, ['Willow logs'], [2349871, 2049387], 4) then
DropAll;
end;
Cut em2 it
Edit: 4 is usually a good tolerance, and don't use these colors, they won't work... Just some advice, don't use the whole uptext, something might be blocking a part of it. I would use this since you can use multiple uptexts
SCAR Code:
if FindObjCustom(x, y, ['illo', 'ogs'], [color(s)], 4) then