Make a button work as a scrollwheel so I can double pump in Fortnite
Make a button work as a scrollwheel so I can double pump in Fortnite
Hi! So I play the game Fortnite, and theres somethiing called "double pumping" in that game, it means that you have two shotguns and switch between them really fast so you can shoot faster. Knowing nothing about AHK and scripting etc how do I make my "G" button work just as if i would press for example, 1 and 2? It's really hard to explain but I kind of want the "G" button to work as a scrollwheel so I can double pump in Fortnite.
Re: Make a button work as a scrollwheel so I can double pump in Fortnite
I hope i can help you with those
Code: Select all
G::
if(current == 2)
{
current = 1
Send, %current%
}
else
{
current = 2
Send, %current%
}
return
Code: Select all
G::
if(current == 2)
{
current = 1
Send, {WheelUp}
}
else
{
current = 2
Send, {WheelDown}
}
return
Code: Select all
G::Send, {WheelDown}
Last edited by Qysh on 24 May 2018, 21:22, edited 1 time in total.
Re: Make a button work as a scrollwheel so I can double pump in Fortnite
Qysh wrote:I hope i can help you with those
Code: Select all
G:: if(current == 2) { current = 1 Send, %current% } else { current = 2 Send, %current% } return
Code: Select all
G:: if(current == 2) { current = 1 Send, {WheelUp} } else { current = 2 Send, {WheelDown} } return
Code: Select all
G::Send, {WheelDown}
Do I just copy paste this into an .ahk file?
Re: Make a button work as a scrollwheel so I can double pump in Fortnite
Wait I ot it, but it doesn't work when I press shift at the same time :/Qysh wrote:I hope i can help you with those
Code: Select all
G:: if(current == 2) { current = 1 Send, %current% } else { current = 2 Send, %current% } return
Code: Select all
G:: if(current == 2) { current = 1 Send, {WheelUp} } else { current = 2 Send, {WheelDown} } return
Code: Select all
G::Send, {WheelDown}
Re: Make a button work as a scrollwheel so I can double pump in Fortnite
Try it again
Code: Select all
*G::
if(current == 2)
{
current = 1
Send, %current%
}
else
{
current = 2
Send, %current%
}
return
Code: Select all
*G::
if(current == 2)
{
current = 1
Send, {WheelUp}
}
else
{
current = 2
Send, {WheelDown}
}
return
Code: Select all
*G::Send, {WheelDown}
Who is online
Users browsing this forum: No registered users and 78 guests