"Mouselook" function
Posted: 11 Aug 2018, 17:33
Hello, was needing a bit of help with a mouselook function.
Here is a basic description of what I want it for:
When I press down the "Numpad." key it will have the mouse control my camera like I'm holding down the right mouse button. And when I hit the button again it will go back to normal. This script has run in the past in games like Star Wars The Old Republic (MMO). This function is a lifesaver for my hands as holding down the right mousebutton for a long time screws my hands up.
Here is what worked in the past but for some reason I'm not able to make it work on my new computer.
NumPadDot::Send % "{RButton " ((Cnt := !Cnt) ? "Down}" : "Up}" )
Thanks a lot.
Here is a basic description of what I want it for:
When I press down the "Numpad." key it will have the mouse control my camera like I'm holding down the right mouse button. And when I hit the button again it will go back to normal. This script has run in the past in games like Star Wars The Old Republic (MMO). This function is a lifesaver for my hands as holding down the right mousebutton for a long time screws my hands up.
Here is what worked in the past but for some reason I'm not able to make it work on my new computer.
NumPadDot::Send % "{RButton " ((Cnt := !Cnt) ? "Down}" : "Up}" )
Thanks a lot.