Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 03-08-2007, 09:45 AM   #1
Join Date: Oct 2006
Posts: 508
Send a message via AIM to BF2player
Default Question.

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.

BF2player is offline   Reply With Quote
Old 03-08-2007, 06:44 PM   #2
Join Date: Apr 2005
Posts: 6,556
Send a message via MSN to Rudster816
Default Re: Question.

// -------------------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
Rudster816 is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 02:30 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0