Upvote Upvoted 1 Downvote Downvoted
toggle script
posted in Customization
1
#1
0 Frags +

I've been wondering, can you make a script that when you hold it down, it will change 2 buttons binds?
Like if you hold down Mouse2, it will change lets say q and e to "+left" and "+right", then when you let go of Mouse2 it will revert q and e back to Call for Medic and Switch to Last Weapon.

If someone could show an example for me, that would be great.

I've been wondering, can you make a script that when you hold it down, it will change 2 buttons binds?
Like if you hold down Mouse2, it will change lets say q and e to "+left" and "+right", then when you let go of Mouse2 it will revert q and e back to Call for Medic and Switch to Last Weapon.

If someone could show an example for me, that would be great.
2
#2
2 Frags +

alias +nameblah "bind q +left;bind e +right"
alias -nameblah "bind q <whatever medic call is>;bind e <whatever switch to last weapon is>"
bind mouse2 "+nameblah"

Pretty sure that should do the trick.. I don't know medic call/switch to last commands by heart, if they need quotes just make them an alias for them

alias +nameblah "bind q +left;bind e +right"
alias -nameblah "bind q <whatever medic call is>;bind e <whatever switch to last weapon is>"
bind mouse2 "+nameblah"

Pretty sure that should do the trick.. I don't know medic call/switch to last commands by heart, if they need quotes just make them an alias for them
3
#3
0 Frags +
Forty-Twoalias +nameblah "bind q +left;bind e +right"
alias -nameblah "bind q <whatever medic call is>;bind e <whatever switch to last weapon is>"
bind mouse2 "+nameblah"

Pretty sure that should do the trick..

thanks c;

[quote=Forty-Two]alias +nameblah "bind q +left;bind e +right"
alias -nameblah "bind q <whatever medic call is>;bind e <whatever switch to last weapon is>"
bind mouse2 "+nameblah"

Pretty sure that should do the trick..[/quote]
thanks c;
Please sign in through STEAM to post a comment.