TomTop
2015-01-22 14:19:33
Hey,
I'm trying to use the following code to find multiple colors at the same time
I tried the following, but I kept getting an error.
How can I get this function to work and to find multiple colors without having to do the following?
I'm trying to use the following code to find multiple colors at the same time
findColorsSpiralTolerance(x, y, TPA, 8087871, mainScreen.getBounds(), 3, colorSetting(2, 0.25, 0.84));
I tried the following, but I kept getting an error.
findColorsSpiralTolerance(x, y, TPA, [8087871, 12427872], mainScreen.getBounds(), 3, colorSetting(2, 0.25, 0.84));
How can I get this function to work and to find multiple colors without having to do the following?
findColorsSpiralTolerance(x, y, TPA, 8087871, mainScreen.getBounds(), 3, colorSetting(2, 0.25, 0.84));
if (Length(TPA) < 1) then
findColorsSpiralTolerance(x, y, TPA, 12427872, mainScreen.getBounds(), 3, colorSetting(2, 0.25, 0.84));