Advertisement
Nilt

TSW Mouse Look

Jan 23rd, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. ;First, download and install AutoHotKey from here: http://ahkscript.org/
  2. ;Once that is installed, copy everything here into a text file and make the extension .ahk
  3. ;I leave mine on my Desktop for easy access.
  4. ;This, when running, detects TSW and allows you to toggle the mouselook by right clicking once and letting go.
  5. ;
  6. ;To right click things in game, you often have to double right click instead.
  7. ;You only really need to copy everything below this line.
  8. ; The Secret World Mouselook Toggle ver. 1.2
  9. #MaxThreadsPerHotkey 3
  10. #NoEnv
  11. SendMode Input
  12.  
  13. #IfWinActive The Secret World
  14. $RButton::
  15. If (Toggle := !Toggle)
  16. Send {RButton Down}
  17. Else
  18. Send {RButton up}
  19. Return
  20.  
  21. $!RButton::
  22. if (Toggle)
  23. {
  24. Toggle := !Toggle
  25. }
  26. Send {RButton}
  27. Return
  28.  
  29. ~m::
  30. ~n::
  31. ~k::
  32. ~p::
  33. if (Toggle)
  34. {
  35. Toggle := !Toggle
  36. Send {RButton up}
  37. }
  38. Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement