Tim0suprem0
2007-09-01 17:20:09
So I want to get Colors from FindColorsSpiralTolerance like this:
FindColorsSpiralTolerance(x,y,Trees,Color,650, 46, 745, 161,30)
and then use the colors in the array Trees to make a DDTM. However, depending on how many examples of the color it finds, the DDTM could be 7 points or it could be 15 points. Is there a way to make it flexible? Or do I just have to use like 3 or 4 subpoints of the 7-12 that it returns, and make a failsafe if it returns less than that?
EDIT: It's probably a problem with arrays… since I stink at them :p
FindColorsSpiralTolerance(x,y,Trees,Color,650, 46, 745, 161,30)
and then use the colors in the array Trees to make a DDTM. However, depending on how many examples of the color it finds, the DDTM could be 7 points or it could be 15 points. Is there a way to make it flexible? Or do I just have to use like 3 or 4 subpoints of the 7-12 that it returns, and make a failsafe if it returns less than that?
EDIT: It's probably a problem with arrays… since I stink at them :p