CAUTION: Linking to screen shot may result in multiple pop under screens.
Hi Jonno....
I am not familiar with the game, but took a quick look at the screenshot.
It appeared that you will need to select a pixel location and wait for the color to change from black to red as the "speed indicator" moves.to the red line.
The key command you are probably looking for is
WaitPixelColor>ColorCode,X,Y,Timeout
This command causes Macro Scheduler to wait until the pixel colour at the specified pixel coordinates changes to the colour specified in ColorCode. If it doesn't change to that colour within the number of seconds specified in Timout, the command stops waiting and the variable WPC_RESULT is set to FALSE. WPC_RESULT is TRUE if the command terminated because the colour changed to the specified colour within the specified time. if Timeout is set to 0, the command will wait indefinitely.
To determine the correct colour code to use, click the drop down menu button next to the cursor position monitor on the macro properties form. From the drop down menu select 'Pixel Color' and the pixel colour of the current mouse cursor position will be added to the display along with the X and Y coordinates. Now you can determine the correct colour code of any pixel on the screen.
Basic outline (without syntax) for your script will be something like this,
Code: Select all
SetFocus>WindowName*
WaitPixelColor>ColorCode,X,Y,Timeout
IF %WPC_RESULT%=TRUE,HitRedLine
Label>NoRedLine
Goto>End
Label>HitRedLine
Do Stuff
Label>End
------------------------------
You may find that although there is a lot of great help available on this forum, there does not seem to be a lot of interest and support for games. But keep asking for help, and see what you can do. It is usually expected that you will also do a good portion of your own work and the forum members can help you troubleshoot and fine tune your scripts.
I suggest that you should start by reading the Help and looking at the sample scripts. And perhaps the basic skeleton above can get you started.