You should put burrowed units underneath and move the locations around that way. THEN you CAN change players and it won't affect the doodad state. so have burrowed lings owned by player 1 lets say under each barracks.
Conditions:
-always
Actions:
-Move location 'disable barracks' on zergling at anywhere owned by player 1
preserve trigger
------------------------------------------------------------------------------
Conditions:
-player 1 owns at least one zergling
actions:
-disable doodad state for barracks owned by (lets say player 5) at 'disable barracks'
-give zergling at location 'disable barracks' owned by player 1 give to player 2
-preserve trigger
that should work. if you've ever played town wars thats how they get the cannons to shoot without pylons
