Upvote Upvoted 0 Downvote Downvoted
Can't Bind Jumping And Firing To The Same Button
posted in Customization
1
#1
0 Frags +

I feel extremely stupid for asking about this.
So basically if I try to use "bind b "+jump;+attack" my dude will keep shooting even if I stop holding that button down, I don't get why this happens because with my mouse I just bound it to "+attack" and it works. Adding -attack to that line doesn't help at all.

I feel extremely stupid for asking about this.
So basically if I try to use "bind b "+jump;+attack" my dude will keep shooting even if I stop holding that button down, I don't get why this happens because with my mouse I just bound it to "+attack" and it works. Adding -attack to that line doesn't help at all.
2
#2
6 Frags +

Idk why you would want to do this in the first place but with stuff like this (rocket jump/crouch jump scripts) it's done with two separate aliases with + and - so that it knows to do -attack when you let go of the key. Try this (except replace the key with b or whatever key you want) also if you are trying to do it for rocket jumping the script below won't really work (since it didn't have you crouch) I just didn't know what to call it.

alias +rj "+jump; +attack"
alias -rj "-attack; -jump"
bind key +rj

also the syntax of your code is kind of silly, you only need quotes around multiple commands at once (i.e., +attack; +duck or anything separated with spaces and semicolons) so "bind b" doesn't make much sense

Idk why you would want to do this in the first place but with stuff like this (rocket jump/crouch jump scripts) it's done with two separate aliases with + and - so that it knows to do -attack when you let go of the key. Try this (except replace the key with b or whatever key you want) also if you are trying to do it for rocket jumping the script below won't really work (since it didn't have you crouch) I just didn't know what to call it.
[code]
alias +rj "+jump; +attack"
alias -rj "-attack; -jump"
bind key +rj
[/code]

also the syntax of your code is kind of silly, you only need quotes around multiple commands at once (i.e., +attack; +duck or anything separated with spaces and semicolons) so "bind b" doesn't make much sense
3
#3
-1 Frags +
bearodactylIdk why you would want to do this in the first place but with stuff like this (rocket jump/crouch jump scripts) it's done with two separate aliases with + and - so that it knows to do -attack when you let go of the key. Try this (except replace the key with b or whatever key you want) also if you are trying to do it for rocket jumping the script below won't really work (since it didn't have you crouch) I just didn't know what to call it.
alias +rj "+jump; +attack"
alias -rj "-attack; -jump"
bind key +rj

also the syntax of your code is kind of silly, you only need quotes around multiple commands at once (i.e., +attack; +duck or anything separated with spaces and semicolons) so "bind b" doesn't make much sense

Thanks for the help!
My normal keyboard broke and I'm using a shitty wireless one, it makes c-tapping harder when I have to sync my fire and jump button so I'm just putting them on one button for now.

[quote=bearodactyl]Idk why you would want to do this in the first place but with stuff like this (rocket jump/crouch jump scripts) it's done with two separate aliases with + and - so that it knows to do -attack when you let go of the key. Try this (except replace the key with b or whatever key you want) also if you are trying to do it for rocket jumping the script below won't really work (since it didn't have you crouch) I just didn't know what to call it.
[code]
alias +rj "+jump; +attack"
alias -rj "-attack; -jump"
bind key +rj
[/code]

also the syntax of your code is kind of silly, you only need quotes around multiple commands at once (i.e., +attack; +duck or anything separated with spaces and semicolons) so "bind b" doesn't make much sense[/quote]

Thanks for the help!
My normal keyboard broke and I'm using a shitty wireless one, it makes c-tapping harder when I have to sync my fire and jump button so I'm just putting them on one button for now.
Please sign in through STEAM to post a comment.