Help with dota 2 function ahk( 2 of em)

Ask gaming related questions (AHK v1.1 and older)
xxdirectxx
Posts: 1
Joined: 26 Sep 2017, 10:13

Help with dota 2 function ahk( 2 of em)

26 Sep 2017, 10:29

1.

Code: Select all

#NoEnv
#UseHook
#InstallKeybdHook
#SingleInstance, force
#Persistent

f11::Suspend

f1::
SendInput, C
Sleep, 100
SendInput, C
Sleep, 75
return
This is the script which I am using. It triggers the item and then turns it off again instantly in the game but this only happens once my hero is not doing anything else. Is there any way to make it so that it triggers instantly while also doing the current action in game?

2.

Code: Select all

q:: 
SendInput, X
Sleep, 25
SendInput, X
Sleep, 25
SendInput, Q
Sleep, 250
SendInput, X
Sleep, 100

return
This script is useful when using abilities in game as it saves resources. however this does not trigger instantly, for eg. if i am targeting a hero from distance then it would trigger the script when i actually reach the place where my mouse is. is there any way to make it so that it triggers instantly where my mouse is?

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: Shoobis and 32 guests