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.
__________________

|