It definitely doesn't find anything using "BUILDING_GARRISON"?
If not, then there's only one way: parse the map.xdb file with your own program, assigning a script name to all objects of the garrison type.
Auto-translated
New here? I'm Roha — want a quick tour?