Digital Paint Discussion Board

Paintball 2: The Game => Help and Support => Resolved Help & Support => Topic started by: prozajik on August 10, 2013, 08:35:36 PM

Title: Bind Run / Walk switch
Post by: prozajik on August 10, 2013, 08:35:36 PM
Just wanted to ask, if its possible to bind a key that would switch between running and walking everytime i press it (not press = walk, release = run). I found cvar_inc, but this doesnt work for +speed obviously or i just dont know how to use it.
Any ideas?
Title: Re: Bind Run / Walk switch
Post by: ViciouZ on August 11, 2013, 01:33:15 AM
I'm sure the scripters will have a more efficient way to do things, but until they do:

alias speed1 "+speed; bind KEY speed2"
alias speed2 "-speed; bind KEY speed1"
bind KEY speed1
Title: Re: Bind Run / Walk switch
Post by: prozajik on August 11, 2013, 10:47:54 AM
Nice, thanks, works fine, kinda mad i didnt think of this myself ^^