im trying to figure out how to make a + command release instantly. i recall knowing how to do so long ago but it may have been in goldsrc engine
for example if we were talking about the command +jump, I would want to be able to press a key and have it apply +jump; -jump regardless of me holding down the key or not. I recall being able to do it with some alias voodoo but cant figure it out
god bless
im trying to figure out how to make a + command release instantly. i recall knowing how to do so long ago but it may have been in goldsrc engine
for example if we were talking about the command +jump, I would want to be able to press a key and have it apply +jump; -jump regardless of me holding down the key or not. I recall being able to do it with some alias voodoo but cant figure it out
god bless
I'm just guessing here. No idea if this will actually work.
bind "spacebar: "blah; unblah"
alias "blah" "+jump"
alias "unblah" "-jump"
I'm just guessing here. No idea if this will actually work.
[code]
bind "spacebar: "blah; unblah"
alias "blah" "+jump"
alias "unblah" "-jump"
[/code]
Not_MatlockI'm just guessing here. No idea if this will actually work.
bind "spacebar: "blah; unblah"
alias "blah" "+jump"
alias "unblah" "-jump"
Don't think this works as intended
Edit: Tested this out, it just doesn't jump. It calls both the aliases at the exact same time and therefore doesn't jump. If you put an echo or say or something in one (or both) of the aliases that part works fine.
[quote=Not_Matlock]I'm just guessing here. No idea if this will actually work.
[code]
bind "spacebar: "blah; unblah"
alias "blah" "+jump"
alias "unblah" "-jump"
[/code][/quote]
Don't think this works as intended
Edit: Tested this out, it just doesn't jump. It calls both the aliases at the exact same time and therefore doesn't jump. If you put an echo or say or something in one (or both) of the aliases that part works fine.
yeah im gonna guess this kind of stuff died when they killed waits or something oh well
yeah im gonna guess this kind of stuff died when they killed waits or something oh well
Close! Try this:
bind "space" "+blah"
alias "+blah" "+jump;"
alias "-blah" "-jump;"
watch your quotes too, sometimes they get fucky
Close! Try this:
[quote]
bind "space" "+blah"
alias "+blah" "+jump;"
alias "-blah" "-jump;"
[/quote]
watch your quotes too, sometimes they get fucky
I believe this is only possible for certain commands and needs 'wait' to make it work for all. /r/tf2scripts has some smart cookies who could tell you definitively.
I believe this is only possible for certain commands and needs 'wait' to make it work for all. /r/tf2scripts has some smart cookies who could tell you definitively.
not possible without the wait command.
i know there are ways using some third party program, but i don't know specifics/names. i'm talking about software that allows you to mess around with what your keys do (like sending the depress command after x ms of pressing it).
not possible without the wait command.
i know there are ways using some third party program, but i don't know specifics/names. i'm talking about software that allows you to mess around with what your keys do (like sending the depress command after x ms of pressing it).
couch_sitterClose! Try this:
bind "space" "+blah"
alias "+blah" "+jump;"
alias "-blah" "-jump;"
watch your quotes too, sometimes they get fucky
This doesn't work
[quote=couch_sitter]Close! Try this:
[quote]
bind "space" "+blah"
alias "+blah" "+jump;"
alias "-blah" "-jump;"
[/quote]
watch your quotes too, sometimes they get fucky[/quote]
This doesn't work