<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.
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-->
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.
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?
Comments
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.
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-->
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.
The "-" is the stop trigger
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?