Andyypsilon79 (12-17-2016),JohnDoe1335 (10-28-2016),Z-Nation (10-30-2016)
Credit: JACKPOST
Code:SendMode Input #SingleInstance Force #NoEnv Process, Priority,, High ;Since BF1 runs at such high CPU usage rates this allows the script to function better. #IfWinActive,Battlefield™ 1 ;Only works if the bf1 main window is open. { ~*RButton:: Send, {q down} sleep 10 Send, {q up} Loop { GetKeyState, KeyState, RButton, P if KeyState = U { Send, {q up} ;shouldn't be nessecery but is just a fail safe so it doesn't get stuck down break } Sleep 300 ;The main time delay between spot attempts. Send, {q down} Sleep 10 Send, {q up} } Return }
Andyypsilon79 (12-17-2016),JohnDoe1335 (10-28-2016),Z-Nation (10-30-2016)
I thought it was AHK hacks,can be download...
do i need to run battlefield in windowed mode to get this macro working?
comment faire exactement pour le lancer en cour de jeux
Nice little AHK, can BF1 detect accurate button presses? would it be possible to very the time it activates?
doesn't seem to work for me, i hold right mouse button and aim at enemies but it doesent spot them
You just run it?
Got it working thanks.
Last edited by Patriot99; 10-30-2016 at 07:01 PM.
sure just create a randome Sleep ^^
Code:SendMode Input #SingleInstance Force #NoEnv Process, Priority,, High ;Since BF1 runs at such high CPU usage rates this allows the script to function better. IfWinActive,Battlefield™ 1 ;Only works if the bf1 main window is open. { ~*RButton:: Send, {q down} RandomSleep(5,35) Send, {q up} Loop { GetKeyState, KeyState, RButton, P if KeyState = U { Send, {q up} ;shouldn't be nessecery but is just a fail safe so it doesn't get stuck down break } Sleep 300 ;The main time delay between spot attempts. Send, {q down} RandomSleep(5,35) Send, {q up} } Return RandomSleep(min,max) ;Sleep with a randome number in a range between min/max. { Random, random, %min%, %max% Sleep %random% } }
Last edited by Noman1994; 10-30-2016 at 05:49 PM. Reason: Code changed
Andyypsilon79 (11-24-2016),JohnDoe1335 (11-24-2016)