Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Version 1.0
- ;Default radio key is Capslock
- ;Default Direct talk key is Mouse button 2(XButton2)
- ;This Code by default will map Mouse button 2(Xbutton2) as your direct speak button and Capslock will be your Radio
- ;Button.
- ;To set custom radio button, Replace "Capslock" with your radio button.
- ;To set custom Direct Channel Button, Replace "Xbutton2" with your custom button.
- ;To set specific dead key, replace all "F12" with specific key.
- ;To run in Arma 3, line "#IfWinActive, ahk_class ArmA 2 OA" will have to be edited
- ;replace "Arma 2 OA" with "Arma 3". Currently untested in V1.0
- ;to test if script is working properly, delete the Semicolon infront of "soundbeep"
- ;Reload script and cycle your buttons, you should hear a beep, Replace Semicolon to mute.
- ;refer to this link for keylists http://www.autohotkey.com/docs/KeyList.htm
- ;code
- #IfWinActive, ahk_class ArmA 2 OA
- ~Capslock::
- ;
- SendInput, {F12 down}
- Keywait, Capslock
- SendInput, {F12 up}
- ~XButton2::
- ;
- SendInput, {F12 down}
- ;soundbeep
- Keywait, XButton2
- SendInput, {F12 up}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement