Question.

BF2player

BSOD
Messages
508
I know this thread could possibly go in programming, but it's an easy question, anyone can do it. What this function does is tell the mouse(left click) to fire. The script is:

// -------------------B-I-N-D-S---------------------
bindCommand(mouse0, make, button0, TO, "fire(1);");
bindCommand(mouse0, break, button0, TO, "fire(0);");
// ------------------S-C-R-I-P-T--------------------

Now what would be the bind for right mouse click? I used button1 and button2 for where button0 is. It just turns my whole mouse into the fire button and slows down the fire speed. The whole purpose of this script is to add another firing button so the speed is double.
 
Messages
6,556
// -------------------B-I-N-D-S---------------------
bindCommand(mouse1, make, button1, TO, "fire(1);");
bindCommand(mouse1, break, button1, TO, "fire(0);");
// ------------------S-C-R-I-P-T--------------------

thats my guess
 
Top