Hi,
as u say fior RGB color Co-ordinate in BE...
I use BE for a Game ...
at this time when there is no Monster in Character MAP(area) character stood..
i want to move my character if there is no monster in Character MAP(Area)..
using
if Color.At coordinate is not (RGB)("R", "G", "B" , "Range", "X", "Y", "Range")
plz.. help me about this....
Here is my macro :
Code:
begin
Window.Bring to front("WEBSITE OF THE GAME", "no")
end
if Color.At coordinate is not (RGB)("217", "124", "0", "184", "163")
begin
Keyboard.Press keys("3")
end
begin
Keyboard.Press key("5")
Macro.Pause("50")
Keyboard.Press key("4")
Macro.Pause("50")
Keyboard.Press key("6")
Macro.Pause("100")
end
begin
Keyboard.Press key("{<oemtilde>}")
end
begin
Macro.Pause("500")
Keyboard.Press key("{<space>}")
end
if Color.At coordinate is not (RGB)("21", "94", "174", "134", "178")
begin
Macro.Pause("500")
Keyboard.Press key("2")
end