...to make a script look for a square with tolerance of a certain color ?
If yes, can you explain to me how to use it ?

...to make a script look for a square with tolerance of a certain color ?
If yes, can you explain to me how to use it ?
couldnt u just use a ddtm
You can make a bitmap of it then use FindBitmapToleranceIn or similar FindBitmap function that has tolerance in the name.
Alternatively, you can look into using FindColorsTolerance and then breaking up the TPA into an ATPA based on the size of the square, but this would require further reading if you're unsure of the method.
A DTM would work as well by setting up the points to the corners and a couple random ones inside (doesn't have to be a DDTM as suggested above though - as long as it's not varied tolerance or original colour, a static DTM should work). The only problem being that you can't ensure it's perfectly square unless you then double check with another method or you spend a lot of time making subpoints for each pixel.
By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.
Yeh DDTMs
Also DDD how much of the GFX have you done?
T~M

Bitmaps would be very large and hard for the script...
DTM would not work as the square changes and there are no fixed points for the corners...
I'm not sure about the TPA thing you described and how to use it.
_______________________
The Man : I wonder, your friend told me to create some grundge style stuff for the outline, the very top white thing on the site, can you describe plz ?
_______________________
Best way I've been told about atm is bitmap...
_______________________
If there a way to make a TPA find the searched object if it has a certain size which varies a little (like tolerance range) or by a certain form of it (with tolerance too) ?
_______________________
I also wonder, can I store the colors found in an array so I know if they're wrong or right ?
_______________________
Thanks so far.
Waiting for more.
Come on msn.
T~M
There are currently 1 users browsing this thread. (0 members and 1 guests)