Page 1 of 2
[Fortnite] Move + Sprint
Posted: 12 Mar 2018, 22:58
by Nigoc
Hi,
In Fortnite, it's necessary to press a key to sprint and press a key to move, in the same time.
Is there a way, a macro, to have move and sprint with same key ?
Move Forward : E
Move Backward : D
Move Left : S
Move Right : F
Sprint : Mouse 4
Can you help me please ? Thanks in advance !
(Sorry for my bad english :p)
Re: [Fortnite] Move + Sprint
Posted: 13 Mar 2018, 00:31
by Nwb
You want to remap all the movements so they always sprint? And mouse 4 sprints?
Code: Select all
E::
Send, {XButton1 down}
Send, {E down}
KeyWait, E
Send, {XButton1 up}
Send, {E up}
return
D::
Send, {XButton1 down}
Send, {D down}
KeyWait, D
Send, {XButton1 up}
Send, {D up}
return
S::
Send, {XButton1 down}
Send, {S down}
KeyWait, S
Send, {XButton1 up}
Send, {S up}
return
F::
Send, {XButton1 down}
Send, {F down}
KeyWait, F
Send, {XButton1 up}
Send, {F up}
return
F11:: Suspend, Toggle
F12:: ExitApp
F11: Suspends the hotkeys, clicking again will toggle it back
F12: Exits the script
Wait I don't know if that works or I should use keywait because I remember reading something EvilC wrote.
If that doesn't work does this? Well it should work..
Code: Select all
$E::
Send, {XButton1 down}
Send, {E down}
return
$D::
Send, {XButton1 down}
Send, {D down}
return
$S::
Send, {XButton1 down}
Send, {S down}
return
$F::
Send, {XButton1 down}
Send, {F down}
return
$E up::
Send, {XButton1 up}
Send, {E up}
return
$D up::
Send, {XButton1 up}
Send, {D up}
return
$S up::
Send, {XButton1 up}
Send, {S up}
return
$F up::
Send, {XButton1 up}
Send, {F up}
return
F11:: Suspend, Toggle
F12:: ExitApp
Re: [Fortnite] Move + Sprint Topic is solved
Posted: 13 Mar 2018, 07:43
by Nigoc
Works perfectly, thanks !
Re: [Fortnite] Move + Sprint
Posted: 15 Apr 2018, 20:44
by BubbTheNub
Hey guys I'm really looking for a way to do the same thing as the OP, to basically have my sprint permanently on. However I'm not sure what to do with the code above, do I just enter that into my command line? I know this is a post from a while ago but this looks like exactly what I'm looking for in Fortnite.
Re: [Fortnite] Move + Sprint
Posted: 16 Apr 2018, 03:49
by Nwb
BubbTheNub wrote:Hey guys I'm really looking for a way to do the same thing as the OP, to basically have my sprint permanently on. However I'm not sure what to do with the code above, do I just enter that into my command line? I know this is a post from a while ago but this looks like exactly what I'm looking for in Fortnite.
I looked it up and shift sprints am I correct? And WASD is for movement? The op must have remapped mouse 4 button, either in game or through software. And mapped EDSF to movement.
If shift sprints for you and if WASD are your movement keys, use this script. Cheers!
(If they aren't then just simple replace all the letters with your controls. Also use the words 'left' 'right' 'up' down' to define arrow keys)
Code: Select all
*W::
Send, {Shift down}
Send, {W down}
KeyWait, W
Send, {Shift up}
Send, {W up}
return
*A::
Send, {Shift down}
Send, {A down}
KeyWait, A
Send, {Shift up}
Send, {A up}
return
*S::
Send, {Shift down}
Send, {S down}
KeyWait, S
Send, {Shift up}
Send, {S up}
return
*D::
Send, {Shift down}
Send, {D down}
KeyWait, D
Send, {Shift up}
Send, {D up}
return
F11:: Suspend, Toggle
F12:: ExitApp
Re: [Fortnite] Move + Sprint
Posted: 16 Apr 2018, 11:46
by Guest
the answer you seek is in the url of this board, autohotkey.com
run scripts given by the software found here
https://github.com/Lexikos/AutoHotkey_L
Re: [Fortnite] Move + Sprint
Posted: 20 Apr 2018, 20:43
by Cakes
This is the script I made for fortnite. Thanks to all the people who posted here.
#IfWinActive, Fortnite
{
*W::
SendInput, {Shift down}{W down}
KeyWait, W
SendInput, {Shift up}{W up}
return
F11:: Suspend, Toggle
F12:: ExitApp
}
Re: [Fortnite] Move + Sprint
Posted: 14 May 2018, 07:16
by youngin91
can someone tell me how to apply these hotkeys into the game? i never used macros or hotkeys before. thanks.
Re: [Fortnite] Move + Sprint
Posted: 14 May 2018, 11:11
by Nwb
youngin91 wrote:can someone tell me how to apply these hotkeys into the game? i never used macros or hotkeys before. thanks.
Firstly download autohotkey. Now make a new autohotkey file and paste what I had written earlier in that script. Run the script and expect the instructed.
Cheers!
Re: [Fortnite] Move + Sprint
Posted: 14 May 2018, 17:32
by Cakes
Cakes wrote:This is the script I made for fortnite. Thanks to all the people who posted here.
Code: Select all
#IfWinActive, Fortnite
{
*W::
SendInput, {Shift down}{W down}
KeyWait, W
SendInput, {Shift up}{W up}
return
F11:: Suspend, Toggle
F12:: ExitApp
}
I improved the script. works much cleaner now
Code: Select all
#IfWinActive Fortnite
;Auto sprint
~w::
Send {Shift down}
KeyWait, w
Send {Shift up}
return
#IfWinActive
Re: [Fortnite] Move + Sprint
Posted: 22 May 2018, 10:21
by joeyjetz
Nwb wrote:youngin91 wrote:can someone tell me how to apply these hotkeys into the game? i never used macros or hotkeys before. thanks.
Firstly download autohotkey. Now make a new autohotkey file and paste what I had written earlier in that script. Run the script and expect the instructed.
Cheers!
My pinky is really starting to hurt because of holding down shift. I want to try this macro, but is there any chance I will get banned by Epic?
Re: [Fortnite] Move + Sprint
Posted: 22 May 2018, 11:11
by Nwb
joeyjetz wrote:Nwb wrote:youngin91 wrote:can someone tell me how to apply these hotkeys into the game? i never used macros or hotkeys before. thanks.
Firstly download autohotkey. Now make a new autohotkey file and paste what I had written earlier in that script. Run the script and expect the instructed.
Cheers!
My pinky is really starting to hurt because of holding down shift. I want to try this macro, but is there any chance I will get banned by Epic?
You should be good according to my knowledge. I know a lot of players who have always been using such a script in one way or the other.
Re: [Fortnite] Move + Sprint
Posted: 24 May 2018, 10:01
by Cakes
joeyjetz wrote:Nwb wrote:youngin91 wrote:can someone tell me how to apply these hotkeys into the game? i never used macros or hotkeys before. thanks.
Firstly download autohotkey. Now make a new autohotkey file and paste what I had written earlier in that script. Run the script and expect the instructed.
Cheers!
My pinky is really starting to hurt because of holding down shift. I want to try this macro, but is there any chance I will get banned by Epic?
I honestly can't figure out why sprint is not the default and press a button if you want to walk. I have the same problem bud, and if they want to ban me for my fingers hurting, screw it.
Re: [Fortnite] Move + Sprint
Posted: 28 May 2018, 14:33
by Cakes
This thread seems really popular so I made another improvement to the script. I found if you shoot or build, it will cancel the sprint. I was able to correct this by re-applying the sprint if left click is pressed while w is still down.
Code: Select all
#IfWinActive Fortnite
;Auto sprint
~w::
Send {Shift down}
KeyWait, w
Send {Shift up}
return
~LButton::
if (GetKeyState("w") && GetKeyState("Shift"))
{
Send {Shift up}
Send {Shift down}
}
return
#IfWinActive
Re: [Fortnite] Move + Sprint
Posted: 11 Jun 2018, 10:06
by Cakes
Hey All,
I have learned a little more about AHK and with the help of some of the members, I was able to break the sprint down to 2 binds. I had issues with the KeyWait thread blocking other hotkeys. Here you go!
Code: Select all
#IfWinActive Fortnite
~w::Send {LShift down}
~w up::Send {LShift up}
#IfWinActive
I'm adding a Double pump script to another help request. I spent hours getting to this point. Thanks to the great community you guys have. My fingers thank you!
Re: [Fortnite] Move + Sprint
Posted: 11 Jun 2018, 10:42
by evilC
You can get it one line shorter
~w::LShift
Re: [Fortnite] Move + Sprint
Posted: 11 Jun 2018, 11:11
by Cakes
evilC wrote:You can get it one line shorter
~w::LShift
noice. I'm glad I learned a bit before you posted this. This is the correct answer for sure.
Re: [Fortnite] Move + Sprint
Posted: 06 Jul 2018, 14:34
by darknesz
~w::LShift
when i try to build or complie this script i get this error??
---------------------------
Aut2Exe Error
---------------------------
Line 1 (File "C:\Users\darknesz\Desktop\FNAS.au3"):
~w::LShift
^ ERROR
whats going one there??
Re: [Fortnite] Move + Sprint
Posted: 07 Jul 2018, 01:58
by nnnik
It seems that you are writing for the wrong program.
AutoHotkey is not AutoIt. AutoHotkey has the ending .ahk not .au3
Re: [Fortnite] Move + Sprint
Posted: 17 Jul 2018, 03:51
by zxmperini
then how exactly u guys walk???