MouseMove doesent work Topic is solved

Ask gaming related questions (AHK v1.1 and older)
chrisb
Posts: 6
Joined: 23 Oct 2018, 13:42

MouseMove doesent work

26 Oct 2018, 05:45

i trie making a script for fortnite but i cant find a way to let the command: MouseMove work, i tried MouseMove, 100, 0, 0 ,r but doesent seem to work. pls help
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: MouseMove doesent work  Topic is solved

26 Oct 2018, 07:28

MouseMove uses desktop coordinates which are usually useless in games. Try using DllCall("mouse_event", "UInt", 0x01, "UInt", x, "UInt", y) ;Replace x and y with relative amounts
chrisb
Posts: 6
Joined: 23 Oct 2018, 13:42

Re: MouseMove doesent work

26 Oct 2018, 11:38

yes thank you so much that works perfect
chrisb
Posts: 6
Joined: 23 Oct 2018, 13:42

Re: MouseMove doesent work

26 Oct 2018, 11:45

oh but do you know how to make it go a bit slower or is that not posible?
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: MouseMove doesent work

26 Oct 2018, 11:53

Without knowing which code you use: not precisely.

If you're still using 100px movements: reduce that or use multiple moves after each other with a Sleep,50 or something in between.
chrisb
Posts: 6
Joined: 23 Oct 2018, 13:42

Re: MouseMove doesent work

26 Oct 2018, 12:06

okey thx

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 80 guests