its in the ini file for the unit. look and see, but u may have to change the vehicle's type to infantry. oh, or u could look in the tunnel's ini area and see what makes it allow tanks inside, and just put that in ur tank bunker when u make it.
how do i put missle defenders or rangers etc in civilian buildings in a map?
Create your team. Make an object list (using the script editor) with the specific buildings you want garisonned. Create a sequential script with the team "moving to the nearest object type"<Object list>, then have them "garrison a nearby structure".
check out the TypeOf = blah blah blah for infantry and if there is something like Is_Garrisonable then put that in ur tank, but then it will go in normal buildings too, and i think turrets dont work in buildings. whichever way it faced when it entered is where it faces when it's in the building, and it wont turn, at least with my experience....