fortnite double shot gun

Ask gaming related questions (AHK v1.1 and older)
butters
Posts: 4
Joined: 27 Dec 2017, 17:09

fortnite double shot gun

27 Dec 2017, 17:24

I need help making a script where when I, lclick it will scroll down, and then I lclick again it will scroll up, pretty much what it should do is shoot one shotgun and then switch to the other and shoot it and just repeats itself any help would be nice
butters
Posts: 4
Joined: 27 Dec 2017, 17:09

Re: fortnite double shot gun

27 Dec 2017, 17:25

got this so far
~lbutton::send {wheeldown}
and that does the first half but when i do another lbutton comand it says error duplicate code
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: fortnite double shot gun

27 Dec 2017, 17:56

Try this:

Code: Select all

lbutton::	
lbutton_count++    	
	If (lbutton_count = 1)
	{
		Send {wheeldown}
	}
	If (lbutton_count = 2)
	{
		Send {wheelup}
	}
	If (lbutton_count = 2)
	{
		lbutton_count := 0
	}
return
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
butters
Posts: 4
Joined: 27 Dec 2017, 17:09

Re: fortnite double shot gun

27 Dec 2017, 19:07

works great just doesn't actually shoot the gun before it switches back cause the lbutton also acts as the fire, so it would have to be shoot then switch
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: fortnite double shot gun

27 Dec 2017, 23:51

Hmm, so could you fix it?
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09
GreatGazoo
Posts: 69
Joined: 28 Dec 2017, 02:53

Re: fortnite double shot gun

28 Dec 2017, 03:24

maybe there should be a

(sleep 100, click) ;in there somewhere

its been a long time since i used AHK and im trying to teach myself how to use it again

i do remember everyone who asks for help, people around here rather help you learn then do it for you

teach you to fish kind of thing instead of feeding you
butters
Posts: 4
Joined: 27 Dec 2017, 17:09

Re: fortnite double shot gun

28 Dec 2017, 12:38

i worked on it last night im trying to add the sleep comand in there and get it to work ill be sure to post what works for me
asdfasdfadsf

Re: fortnite double shot gun

20 Jan 2018, 09:56

anything more on this please
nickscool1919

Re: fortnite double shot gun

04 Feb 2018, 14:36

how can i make it so it shoots then switches then shoots then switches?? like on a loop??
switchlofi

Re: fortnite double shot gun

24 Feb 2018, 14:52

Code: Select all

msgbox Fortnite Double Pump Script By switch

XButton2::	
lbutton_count++    	
	If (lbutton_count = 1)
	{
		Send {3}
		Sleep, 500
		MouseClick ,Left,X,Y,3,0
	}
	If (lbutton_count = 2)
	{
		Send {2}
		Sleep, 500
		MouseClick ,Left,X,Y,3,0
	}
	If (lbutton_count = 2)
	{
		lbutton_count := 0
	}
return
 
PgDn::Suspend
here is my custom code. press mouse5 to switch you can change it if you want

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 45 guests