Help with script

Ask gaming related questions (AHK v1.1 and older)
Carter_1
Posts: 3
Joined: 22 Jun 2022, 14:59

Help with script

Post by Carter_1 » 29 May 2023, 13:33

Hi all

There is a problem: in the game, holding down the Q button to move the character to the left up (ie, pressed the W and A), and when I let go of the button Q, he stopped.

Tried different, but it turns out that the character does not stop. Studied the difference SendInput, SendPlay and SendRaw, but especially did not understand anything and it did not help :beer:

Help please


[Mod action: Topic moved from "Ask for Help (v2)" since this is regarding v1 code (SendRaw) and it is for a game. Please post in the appropriate forum.]

Rohwedder
Posts: 7623
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Help with script

Post by Rohwedder » 30 May 2023, 01:28

Hallo,
what works best (SendInput, SendPlay), depends on your game. Try:

Code: Select all

*q::SendInput, {Blind}{w DownR}{a DownR}
*q up::SendInput, {Blind}{w Up}{a Up}

Post Reply

Return to “Gaming Help (v1)”