Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro to Loop functions + change function with hotkey while also scanning for images
#8
you can also use

Function Function4
Code:
Copy      Help
,,if(scan("resource:ZielsuchzeigerSetzen2.bmp" 0 0 1|16 20) or scan("resource:ZielsuchzeigerSetzenNacht.bmp" 0 0 1|16 30))
,,,wait 0.2
,,,lef
,,,wait 0.2
,,,out "Zeiger gesetzt"
,,,mou
,,,goto rundenende

This can help reduce code lines.

if(scan("resource:ZielsuchzeigerSetzen2.bmp" 0 0 1|16 20) and scan("resource:ZielsuchzeigerSetzenNacht.bmp" 0 0 1|16 30)) ;;must find both images


Messages In This Thread
RE: Macro to Loop functions + change function with hotkey while also scanning for images - by redbull2k - 07-26-2020, 02:57 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)