SCAR Code:
program RadialWalk;
{.include SRL/SRL.scar}
var
road_color: T2DIntegerArray; // is this two dimensional array of intgers? Array of Array of Integer?
i, j: Integer;
procedure init_variables;
begin
SetupSRL;
SetArrayLength(road_color, 1);
road_color[0] := [8692140, 8823978, 8692135, 9021614, 8889771];
end;
begin
init_variables;
for i := 0 to High(road_color) do
begin
for j := 0 to High(road_color[i]) do
begin
if RadialRoadWalk(road_color[i][j], 60, 120, 72, 2, 2) then // expected Semicolon here
begin
WriteLn('Found: ' + IntToStr(road_color[i][j]));
break;
end else
begin
WriteLn('Could not find: ' + IntToStr(road_color[i][j]));
end;
FFlag(0);
end;
end;
end.
You can't do variable := [[]]; on two dimensional arrays
EDIT: And maybe you should do RadialRoadWalkTolerance()? That increases the chance of finding the correct color