Log in

View Full Version : FindColorTolerance



kemico2
07-16-2007, 07:28 AM
In some scriptsthe function IF(findcolortolerance) has MSXY1 and that kind of stuff in it. Can someone tell me wat that means please. It would aslo be great if someone could use an exampe of it.:D

SKy Scripter
07-16-2007, 07:43 AM
findcolor(x, y, 255, Mini map x 1, Mini map y 1, Mini map x 2, mini map y 2);

thats what they stand for...

msx1 := main screen x 1

ect... you should get it :p

Wanted
07-16-2007, 08:09 AM
Think of you're screen as a big grid.

Now think of the main screen and such as a big box ->


__y1__
| |
x1| |x2
| _____|
y2

http://i65.photobucket.com/albums/h207/MadClabXIII/MMap2.png

Basically, MSX1... MMX... MIX1... MCX1 ect... are all constants you can use instead of finding those numbers each time.

Boreas
07-16-2007, 11:56 AM
http://www.srl-forums.com/forum/tutorial-beginners-f176.html