Gun Modeling Question

Hi, If I model a gun in Blender and I want it to fire a bullet when I press the trigger or a certain button, how would I do it? Will I have to go into the Blender Game engine and literally make the code for it?

Thanks!

Depends how you want it to fire.

If you want to be able to move around with it and fire then probably game engine.

If you just want it to fire a bullet (or a few) and maybe break things it hits then animation,particles and physics will do.

Ahh ok, thanks.