"use" Key Toggle

SealSeal 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.

Comments

  • obuhobuh Not Quite Smart at NS Join Date: 2003-03-31 Member: 15072Members, Constellation
    edited October 2003
    autoexec.cfg:
    <!--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
  • romanoromano Join Date: 2002-11-02 Member: 4296Members
    2 ways:
    <!--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.
  • LucidLucid Join Date: 2002-12-11 Member: 10534Members, Constellation
    edited October 2003
    Yes you can easily script this and nobody in their right mind could call it exploiting, cheating etc.

    I haven't bothered to learn HL scripting but I know for sure you could do this.

    EDIT: i got owned while typing this
Sign In or Register to comment.