"Mouselook" function

Ask gaming related questions
Siknu
Posts: 2
Joined: 11 Aug 2018, 17:26

"Mouselook" function

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.
Siknu
Posts: 2
Joined: 11 Aug 2018, 17:26

Re: "Mouselook" function

11 Aug 2018, 17:43

Alright, I figured it out... I need to run this script as an administrator to make it work.

Thanks.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 11 guests