A man with a pistol was shooting incessantly in the room, and an alarm sounded.