
There is what my Minimap looks like, here is my code for finding a Minigame symbol outside of the fightcave :
Simba Code:
Function Symbol : Boolean;
var
CTS, I: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
x,y : Integer;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.05, 2.01);
if FindColorsSpiralTolerance(x, y, TPA, 2431709, MMX1,MMY1,MMX2,MMY2, 10) then
Writeln('Found Symbol');
result := true;
ColorToleranceSpeed(CTS);
ATPA := TPAToATPAEx(TPA, 40, 20);
If Length(tpa) = 0 then exit;
For I := 0 to high(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y);
wait(20+random(10));
If I > 10 then break;
P07_MakeCameraAngleHigh;
P07_MakeCompassSouth;
end;
end;
My writeln is showing in the debug window whilst in the fight cave that is has found the symbol, which is false. Could anyone point me in the direct where I have gone wrong?
Thank you.