A military pilot is sitting in the cockpit of a helicopter and firing a machine gun.