Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

AHK: Freelook Toggle

Inf666Inf666 Member UncommonPosts: 513

Thought I'd post an Autohotkey Script I am using in GW2. I found it on the net and modified it a bit for GW2.

When you press left alt you enable the freelook. Pressing alt, escape or the right mouse button disables it.

I am sure there are some unintended consequences somewhere in the game.

-----

#NoEnv
#SingleInstance Force
#IfWinActive, Guild Wars 2

MouseLook = 1

~LAlt::
Gosub, ToggleCursor
Return

Esc::
if (MouseLook)
{
    Gosub, ToggleCursor
    Send {Esc}
}
Else
    Send {Esc}
Return

ToggleCursor:
GetKeyState, state, RButton
If state = U
{
    Send {RButton Down}
    MouseLook = 1
} else {
    Send {RButton Up}
    MouseLook = 0
}
Return
 

---
Insanity: Doing the same thing over and over again and expecting different results.

Sign In or Register to comment.