Hello again,
so today I've been experimenting with some more SCAR/SRL procedure/functions and have come to a little problem.
I'm wanting to use RadialWalk to navigate throughout Lumby Castle; the first time I pick the color and execute the function it works great, but after that it doesn't (the colors must be dynamic and not static)
So I've come looking in hope for some autocolor help (because I don't know where to begin)
I've looked through AutoColor.scar and could find FindFallyRoadColor, FindLumbyRoadColor etc, but no mention of Lumbridge castle.
help would be greatly appreciated!
SCAR Code:
program CookChickens;
{.include SRL/SRL.scar}
var
i, x, y: Integer;
colors: TPointArray;
begin
SetupSRL;
MakeCompass('S');
RadialWalk(8816269, 10, 0, 52, 2, 2);
FFlag(0);
FindColorsSpiralTolerance(x, y, colors, 3225920, MSX1, MSY1, MSX2, MSY2, 0);
for i := 0 to High(colors) do
begin
MMouse(colors[i].x, colors[i].y, 3, 3);
if IsUpText('air') then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, true);
break;
end;
end;
Wait(750 + Random(500));
Mouse(x, y, 0, 0, false);
ChooseOption('own');
end.
(does not have failsafe for RadialWalk etc atm, but will get around to that)
void_hatred.