Torrent of Flame
2008-12-20 12:58:52
So I'm modifying BH's Ent Finder, and it keeps coming up with;
Line 116 being the 'EntColor[0] := 1057205;' part.
Any help greatly appreciated :o
Line 116: [Error] (16497:9): Semicolon (';') expected in scriptLine 116 being the 'EntColor[0] := 1057205;' part.
procedure EntFinder;
var EntWait: integer;
EntColor: integer;
begin
EntColor[0] := 1057205;
EntColor[1] := 3236698;
EntColor[2] := 3756634;
EntColor[3] := 2194283;
for i:= 0 to 3 do
if FindObjTPA(x, y, EntColors[i], 30, 2, 15, 25, 10, ['Chop', 'hop', 'op Do', 'Down']) then
begin
Writeln('Found Ent');
MarkTime(EntWait);
repeat
FTWait(5);
FindNormalRandoms;
if not (LoggedIn) then
NextPlayer(False);
until TimeFromMark(SafeEntWait) > 20000 + Random(5000);
end;
end;Any help greatly appreciated :o