I am almost done making this script and I'm using reflection. I'm making it walk to the same point but a different path to choose from. I just now got this error because when I was using just one set of points it was working just fine. Any help would be appreciated!
SCAR Code:
function LoadBurnLoc: TPointArray;
begin
case Random(3) of
0 : SetLength(Result, 3);
Result[0] := (Point(3816, 3448)); <-----Line 308
Result[1] := (Point(3190, 3450));
Result[2] := (Point(3192, 3452));
1 : SetLength(Result, 5);
Result[0] := (Point(3187, 3445));
Result[1] := (Point(3187, 3448));
Result[2] := (Point(3190, 3448));
Result[3] := (Point(3191, 3450));
Result[4] := (Point(3191, 3452));
2 : SetLength(Result, 4);
Result[0] := (Point(3186, 3444));
Result[1] := (Point(3185, 3449));
Result[2] := (Point(3189, 3451));
Result[3] := (Point(3192, 3451));
end;
end;
Failed when compiling
Line 308: [Error] (19825:11): colon (':') expected in script
~Camo