Yes. In the bomy code, if the D key is pressed, this gets run:
NPC Code:
function Cweapon() {
if (selectedweapon>=0) {
if (pswimming)
callweapon selectedweapon,bomyweaponfiredw;
else
callweapon selectedweapon,bomyweaponfired;
}
}
What this does is calls your selected weapon and runs the bomyweaponfired or bomyweaponfiredw segments of it. Pretty easy.