A man with a gun was fighting fiercely in a darkened warehouse, where gunfire echoed.