View Single Post
Old 07-10-2001, 07:51 PM   #4
DeLukas
Forum Regular
 
Join Date: May 2001
Location: Fort Collins, CO, USA
Age: 44
Posts: 323
Send a message via ICQ to DeLukas
Angry

This is mousefire:

function mouseFire(%val)
{
$mvTriggerCount0 += $mvTriggerCount0 & 1 == %val ? 2 : 1;
}

That is what happens when you press the fire key. It can work basically as a toggle.

You can call mouse fire once turns it on shooting, call mouse fire again to turn it off. (That is how automissile works)

Problem is I do not know what creates continual fire because it is not called twice when you press the mouse button.

So I need to play with it for a little while so I can think about how it works. Till then I am just guessing at what I need.
__________________

DeLukas is offline   Reply With Quote