Ahh, thank you.
I'm quiet new to reflection, and know some of it, but I do not know its limits.
If anyone would like to help me send me a PM.
Edit:
I finally got my IDs for the 4 rocks (Gold and Iron).
Set up my const
Simba Code:
// Don't TOUCH THIS
TallIRockID = 9720;
ShortIRockID = 9722; // Reflection IDs
TallGRockID = 9717;
ShortGRockID = 9718;
//Looking South - Tall gold is left and short is right
Confusing if you don't know what I'm talking about, but this isn't the problem.
Simba Code:
function CheckIron: TPoint;
var
i: integer;
IronTPA: TPointArray;
IRock: TTile;
begin
Result := Point(-1, -1);
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.10, 0.13);
FindColorsSpiralTolerance(MMCX, MMCY, IronTPA, 1713730, MMX1, MMY1, MMX2, MMY2, 5);
SetColorSpeed2Modifiers(0.2, 0.2);
ColorToleranceSpeed(1);
for i := 0 to high(IronTPA) do
begin
MMouse(IronTPA[I].x, IronTPA[I].y, 2, 2);
if(IsUpTextMultiCustom(['ine','ock','cks'])) then
begin
Result := IronTPA[I];
Writeln('Iron Found, or a different rock. Doing a reflection check.');
IRock := PointToTile(IronTPA[I]);
end
end;
end;
Those empty three lines are my problem. How would I grab the ID of the tile and see if it matches the ID from the const?