The machete, hatchet, and knives that he had would all have all been considered to be dangerous weapons.

And the law does not care if they were just brought into the parking lot.   The parking lot is legally considered to be part of the building.