Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 functions, 1 macro?
#9
i added that in, and now when that pixel pops up, all it does is restart the macro, heres the code:
Code:
Copy      Help
3
rep 99999
,
,WaitPixelColor(0 0xD6565E 68 43)
,
,key+ R; 0.1; key- R; key F8 ;; Turn right for 0.1 seconds, and press F8
,
,sel pixel(87 99) ;;Look at this location
,,case [0xFFBE00,0xAAFFFF,0x40FF40,0x40FFFF] continue ;; If colors at the location, stop
,
,key v ;; con
,
,sel pixel(53 619) ;;Look at this location
,,case [0xFFBE00,0xAAFFFF,0x40FF40,0x40FFFF] ;;If you see any of these colors, continue
,,key e
,,key 3
if(pixel(731 592)=0xFFFF64)
,key+ U; 0.1; key- U
0.5
,,rep 9
,,,key 1
,,,key 2
,,,key 3
,key e
now when it gets the the part u told me to add in, what happends is, the pixel is there, the macro goes back to the begining, instead of pressing the up arrow :S
[Image: banner-grunge2.jpg]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)