"use" Key Toggle
Seal
Join Date: 2003-08-25 Member: 20203Members
<div class="IPBDescription">On and Off</div> Hi, i know this sounds a little stupid but is there a way to like bind a key so i can toggle the "use" key on and off instead of having to hold it down constantly for little tasks such as reloading and building which seems to last forever, my finger gets very tired of holding the "e" key down constantly. I have tried things like "bind [ +use" but that does not toggle it on or off, the only way i have found that works is by actually typing +use and -use into the console manually.
Thanks
Seal
p.s. i hope what i just said isnt regarded as cheating or exploiting.
Thanks
Seal
p.s. i hope what i just said isnt regarded as cheating or exploiting.
Comments
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias useon "+use;bind e useoff"
alias useoff "-use;bind e useon"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
then in config.cfg :
bind e useon
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "[" "+use; wait" // this will toggle it on
bind "]" "-use;" // this will toggle it off<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Thats using 2 buttons, and is easiest to do.
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias useon "+use; wait; bind [ useoff"
alias useoff "-use; wait; bind [ useon"
bind "[" "useon"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Thats using 1 button to toggle on/off, put the aliases in your autoexec.cfg file.
I haven't bothered to learn HL scripting but I know for sure you could do this.
EDIT: i got owned while typing this