Hl Bind Help

mirrodinmirrodin Join Date: 2004-06-29 Member: 29621Members
edited September 2004 in NS Customization
<div class="IPBDescription">Explain: -jump</div> I understand that binding +jump or +attack makes you jump or attack, respectivly, but what does -jump or -attack do?

EDIT: I meant to put this is the trouble shooting forums. I missed >.< Sry.

Comments

  • Garet_JaxGaret_Jax Join Date: 2003-02-23 Member: 13870Members, Constellation
    edited September 2004
    Putting '+' before an alias tells HL that you want the alias to be active whilst the key is pressed, and to terminate it when the key is released.

    I think.

    e.g.

    bind "r" "duck" will disable wall-walk forever, after 'r' is pressed.

    bind "r" "+duck" "will disable wall-walk whilst the key is held down.
  • wnnwnn Zombie Panic modeller Join Date: 2003-06-03 Member: 16960Members
    If you wanna know the actual use, try typing +attack into console.
    Then type -attack, you'll understand <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html//emoticons/wink-fix.gif' border='0' style='vertical-align:middle' alt='wink-fix.gif' /><!--endemo-->
  • TrayderTrayder Join Date: 2003-10-30 Member: 22127Members, Constellation
    You have mouse1 bound to +attack, so when u press mouse1 it attacks.
    You then let go of mouse1 and it triggers the -attack which just stops it from attacking.
    The -command always triggers after the button bound to the +command is released and in the case of +jump the -jump command needs to be triggered for you to be able to +jump again.
  • FrEeLaNcEr1FrEeLaNcEr1 Join Date: 2003-12-18 Member: 24511Members
    to the HL engine, the "+" mean do something (like attack, crouch) until triggered to stop.
    The "-" is the stop trigger
  • Night_EagleNight_Eagle Join Date: 2003-11-07 Member: 22373Members
    Time for the intelligent well-thought-out response.

    If a key is bounded to anything with a + before it, when pressed it will execute the command with a + in front of it. When released, it will execute the command with a - in front of it.

    In example:
    If mouse1 is bound to +attack,
    when pressed, mouse1 will execute +attack
    when released, mouse1 will execute -attack

    Even if it is a nonsense command, this applies:
    bind b +nosuchcommand
    When pressed, +nosuchcommand will be executed
    When released, -nosuchcommand will be executed

    If I went into aliasing, I would have told you too much.
    Does that help?
Sign In or Register to comment.