SRL Archive - OSR Help

Boxes


NKN

2012-04-18 18:24:09

So, if I wanted to search for a color within a certain point, Ex. Center of screen.
How would one go about achieving this?

SearchArea := IntToBox((MSCX - 20),(MSCY - 20),(MSCX + 20),(MSCY + 20));
FindColorsSpiralTolerance(MSCX,MSCY,TPA,7185089,MSX1,MSY1,MSX2,MSY2,20);

Total

2012-04-18 18:26:36


FindColorsSpiralTolerance(MSCX,MSCY,TPA,7185089,MSCX - 20, MSCY - 20,MSCX + 20 ,MSCY + 20, 20);

NKN

2012-04-18 18:27:00

-facepalm-
Thanks.