FPS Game Script Topic is solved

Ask gaming related questions (AHK v1.1 and older)
scriptsnoof

FPS Game Script

23 Jul 2017, 00:27

So I just got autohotkey to make a 180 turn script for Overwatch.
I've been using this code which works on my desktop but when I use it on overwatch it just flicks up to the sky.
f5::
MouseMove, 1000, 0, 0, R
return
I think the reason for this is it's an FPS game, anyone got any ideas on how to fix this, thanks.
bluce
Posts: 70
Joined: 01 Feb 2017, 13:23

Re: FPS Game Script  Topic is solved

23 Jul 2017, 05:03

Don't use the MouseMove function. Try using the mouseXY function instead:

Code: Select all

mouseXY(x,y)
{
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0)
} 
Usage: mouseXY(5,2) will move the mouse 5 pixels to the right and 2 pixels down.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 84 guests