Help with 180* turn script

Posts 1–2 of 2 · Page 1 of 1
Help with 180* turn script
I've been trying to make a 180 turn script for a long time but they all didn't work very well... Either it starts moving up or down and is slow, or it makes random moves.
I want to make it so when pause is held it looks behind and when key released it looks at the previous position
Any help?

Code:
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#MaxThreadsPerHotkey 2
F9::pause, toggle
CoordMode Mouse, Screen
MouseGetPos, xpos, ypos

Pause::
DllCall("SetCursorPos", int, I DONT KNOW :(, int, ypos)

Pause Up::
DllCall("SetCursorPos", int, xpos, int, ypos)
Use process of elimination, cut the number of tries in half every time, I don't exactly know how it works but this is my best guess.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us