#Multi Key Binding?

1 messages · Page 1 of 1 (latest)

shut relic
#

I'm wondering if there's a way to do multi key binding

dapper swan
#

I don't think there's any easy way by default?

It is absolutely possible with a bit of code! See the BindMenu gmodstore addon.

I guess you could kinda make a hacky multi key bind by leveraging the alias command.

Haven't tested this but it might work?

alias +realjump "+jump"
alias -realjump "-jump"

alias +modjump "+jump; say Jumping but with extra shift!"
alias -modjump "-jump"

alias mod_exec +realjump
alias mod_exec_release -realjump

alias +mod "alias mod_exec +modjump; alias mod_exec_release -modjump"
alias -mod "alias mod_exec +realjump; alias mod_exec_release -realjump"

bind SHIFT +mod
bind SPACE "+modexec"

alias +modexec "mod_exec"
alias -modexec "mod_exec_release"
austere narwhal
dapper swan
austere narwhal