apparantly unitype would work but if you primary building it, surely vehicles come out? ..
Nope, for the same reason as stated above. A factory can only build units which share an owner in the 'Owner=' tag so just make sure that the Armory has an owner with no buildable units.