Hey I am trying to find the POH icon on the minimap in scar and currently this is what I use:
SCAR Code:
program FindPortal;
{.include srl/srl.scar}
var x,y: integer;
begin
SetupSrl;
FindColor(x,y,8990819,549,8,701,156);
MoveMouseSmooth(x,y);
end.
I am pretty sure this will work (could improve if tolerance added) but wanted to know what the better/simpler method is as I am pretty sure theres is one. I tried using:
SCAR Code:
FindSymbol(x,y,'portal');
but this didn't find the portal whereas my method did, also is there a better way of finding colours in the minimap as I just used a rectangle around the minimap but this could get mixed up with colours like prayer status etc.