Is it possible to look up with one key?

Ask gaming related questions (AHK v1.1 and older)
Pacifista
Posts: 46
Joined: 17 Jan 2022, 16:17

Is it possible to look up with one key?

Post by Pacifista » 08 Oct 2023, 09:53

Hello folks, i have seen some scripts that make you turn 360 degrees and stop at where you begin. Some of them were fast and some slower.

This thing also depends on the mouse sensivity so you have to change the numbers of a certain script you find and it works yet i never saw a script that makes you look up.


What i need is to look up, press a key and look down while in mid air to shoot.

Can you lead me to such script? I can adjust my own script if i ever find one.

Pacifista
Posts: 46
Joined: 17 Jan 2022, 16:17

Re: Is it possible to look up with one key?

Post by Pacifista » 08 Oct 2023, 10:12

Code: Select all

F3::
SetKeyDelay,, 25
MouseGetPos, x, y
MouseMove, 0, -300,, R
Send f
MouseMove, x, y
Return
it seems legendary mikeyww has answered my topic before, is it possible to change this script a little bit? this forgets my location and i find myself at the direction where i'm not looking.

Code: Select all

V::
SetKeyDelay,, 25
MouseGetPos, x, y
MouseMove, 0, -300,, R
Send q
MouseMove, x, y
MouseMove, 0, -5,, R
Return
I've edited the script to work better. It looks a bit more up after teleporting so i'm not looking at 90 degrees below now.

[Mod edit: [code][/code] tags added.]
[Mod edit: Moved topic from AHK v2 help, since this is v1 code.]

gregster
Posts: 9113
Joined: 30 Sep 2013, 06:48

Re: Is it possible to look up with one key?

Post by gregster » 08 Oct 2023, 12:18

@Pacifista, please use code tags when you post code.
Also, please pay attention to the forum you post in. For AHK v1 questions, please use the forums marked as v1.
Thank you.

Post Reply

Return to “Gaming Help (v1)”