Itankbots
2012-08-26 04:11:49
Cheers to everyone that helped with suggestions, should be good to go now :) thank you.
2012-08-26 04:11:49
2012-08-26 04:20:38
2012-08-26 06:03:04
2012-08-26 14:16:49
procedure FindMonster;
var
NPCTPA:TPointArray;
begin
NPCTPA := GetMinimapDotsIn('npc', MMX1, MMY1, MMX2, MMY2);
if not(length(NPCTPA) = 0) then
begin
SortTPAFrom(NPCTPA, Point(MMCX, MMCY));
Mouse(NPCTPA[0].x, NPCTPA[0].y, 2, 2, true);
end
else
begin
writeln('No NPC dot found.');
end;
end;