Autohotkey double-tab dodge script for GeForce Now users

Valheim – Quick Tips to Start

Or anyone else that isn't using mods for whatever reason.

SetTitleMatchMode, 2
SetKeyDelay, 0

Dodge()
  {
  If (GetKeyState("RButton"))
    {
    Send, {Space}
    }
  Else
    {
    Send, {RButton Down}{Space}
    Sleep, 100
    Send, {RButton Up}
    }
  }

#IfWinActive Valheim

~w::
If (A_PriorHotkey <> "~w" or A_TimeSincePriorHotkey > 250)
  {
  KeyWait, w
  Return
  }
  Dodge()
Return

~a::
If (A_PriorHotkey <> "~a" or A_TimeSincePriorHotkey > 250)
  {
  KeyWait, a
  Return
  }
  Dodge()
Return

~s::
If (A_PriorHotkey <> "~s" or A_TimeSincePriorHotkey > 250)
  {
  KeyWait, s
  Return
  }
  Dodge()
Return

~d::
If (A_PriorHotkey <> "~d" or A_TimeSincePriorHotkey > 250)
  {
  KeyWait, d
  Return
  }
  Dodge()
Return

Pretty reliable overall, can be a little glitchy on the diagonals. (Only seems to work if you hold down the double-tap key after use, but I figure you'd want to in most circumstances anyway.)

There was no good flair for this.

Source: https://www.reddit.com/r/valheim/comments/nk703d/autohotkey_doubletab_dodge_script_for_geforce_now/

leave a comment

Your email address will not be published. Required fields are marked *