Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Mouse Gameplay Control AHK script for Obduction
- Version 1.0
- Made by SoraHjort
- Originally posted at http://steamcommunity.com/sharedfiles/filedetails/?id=751476012
- Posted here for archival purposes for those who need it.
- */
- #InstallMouseHook
- #InstallKeybdHook
- #KeyHistory
- #MaxThreadsPerHotkey 10
- SetTitleMatchMode 2
- MouDir = 1
- #IfWinActive ahk_exe Obduction-Win64-Shipping.exe
- loop
- {
- IfWinNotExist ahk_exe Obduction-Win64-Shipping.exe
- {
- exitapp
- }
- sleep 1000
- }
- WheelUp::MouDir = 1
- WheelDown::MouDir = 2
- RButton::
- loop
- {
- If MouDir = 1
- {
- send {w down}
- keywait RButton
- send {w up}
- }
- If MouDir = 2
- {
- send {s down}
- keywait RButton
- send {s up}
- }
- send {RButton}
- return
- }
- MButton::Space
- #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement