Script for signals Stalcraft

Ask gaming related questions
SannoV
Posts: 1
Joined: 01 Feb 2024, 10:48

Script for signals Stalcraft

Post by SannoV » 01 Feb 2024, 11:03

Hello everyone. I need to write a script in the AutoHotkey language, which waits for the F3 button to be pressed after launch. The script starts after pressing F3 - presses the X button, then checks the color in coordinates 689, 393. If the color does not change within 0.3 seconds, then X is pressed again and the script restarts on its own. If the color changes, left-click on coordinates 1080, 791, and then coordinates 1348, 798. After that, a color change is expected at coordinates 1119, 736. When the color has changed at this coordinate, left-click on coordinates 1350, 795, and then left-click on coordinates 627, 578. After that, press X and end without closing the program with the possibility of restarting on F3. Please help me.

Return to “Gaming”