Advertisement
Guest User

Untitled

a guest
Oct 11th, 2013
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. ;Version 1.1
  2.  
  3. ;Radio as Capslock still has .5sec delay, direct chat should be instant
  4.  
  5. ;Default radio key is Capslock
  6. ;Default Direct talk key is Mouse button 2(XButton2)
  7.  
  8. ;This Code by default will map Mouse button 2(Xbutton2) as your direct speak button and Capslock will be your Radio
  9. ;Button. The Dead key that you record to dxtory with is Home
  10.  
  11. ;To set custom radio button, Replace "Capslock" with your radio button.
  12. ;To set custom Direct Channel Button, Replace "Xbutton2" with your custom button.
  13. ;To set specific dead key, replace all "Home" with specific key.
  14.  
  15.  
  16. ;To run in Arma 3, line "#IfWinActive, ahk_class ArmA 2 OA" will have to be edited
  17. ;replace "Arma 2 OA" with "Arma 3". Currently untested in V1.1
  18.  
  19.  
  20. ;refer to this link for keylists http://www.autohotkey.com/docs/KeyList.htm
  21.  
  22.  
  23.  
  24.  
  25. ;code
  26.  
  27.  
  28.  
  29.  
  30. #IfWinActive, ahk_class ArmA 2 OA
  31. {
  32. SendMode, InputThenPlay
  33.  
  34. ~Capslock:: Send, {Home down}
  35. ~Capslock Up:: Send, {Home up}
  36.  
  37. ~XButton2:: Send, {Home down}
  38. ~XButton2 Up:: Send, {Home up}
  39. reload
  40. return
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement