Transports *Please Help*

So i have 2 kinds of transports 1 that can just load units and move and the other that can load units and move and the units within can stilll shot. If transport 1 loads the other one those units can still within the second one can still shot but id like them to not be able to shot will within transport 2 and that inside transport 1.
Do you have an idea on how to sort that out?