XIM Community

Auto Sprint  (Read 232 times)

Offline havoxxx

  • MVP
  • *
  • Posts: 774
    • View Profile
Auto Sprint
« on: 04:48 PM - 06/25/18 »
here is a easy one for people who always want to sprint with out pressing the shift key.
if your game does not have the shift key as sprint assign the key in ahk to the code.
F6 is the on off switch

Code: [Select]
#Include %A_AppData%\XIM Link\ScriptAdditionals\AHK_ADDITIONALS.ahk
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#SingleInstance, Force
SetKeyDelay, 0, 50
SetControlDelay, -1
SetMouseDelay, -1
SetWinDelay,-1
#NoEnv
#InstallMouseHook
SendMode Input
SetWorkingDir %A_ScriptDir%
                                                                                                                                                                                                                                                                                                                                                                                                     
F6::suspend

~W::
While GetKeyState("W", "P")
Send, {shift down}
KeyWait, W
    Send, {Shift up}
return
#UseHook On,Off

Offline piiwii

  • MVP
  • *
  • Posts: 1897
    • View Profile
Re: Auto Sprint
« Reply #1 on: 04:50 PM - 06/25/18 »
You’ll need some code there for games that require a reload or weapon swap wait time.
Setup: XIM Apex, Titan Two, Switch Joy-Con, Logitech G502, Razer mouse bungee, SteelSeries 4HD mousepad, DXRacer armrest, LucidSound LS30 headphones, Netduma router, Ubiquiti UniFi AP LR wireless access point

My setup (incl. Joy-Con mount): https://bit.ly/2jic7bG

My RAINBOW SIX SIEGE Titan Two Mega Script: https://youtu.be/x-9NtxyySVM

What is a ballistic curve? Click here to learn more: https://bit.ly/2qzUAjg

Using a Nav? Frustrated by the lack of buttons? See here: https://bit.ly/2JINRuB

Find me on the ConsoleTuner (Titan Two) forums: pablosscripts