True, captive units will still make AI enemy's heads turn altough won't shoot at them.
You could try to make the non-captive soldiers
unitname disableai "autotarget"
but then again there's no spell to make them autotarget again if you want them to.. unless you want to command them with dotarget the whole rest of the mission
Also if your familiar with the mission.sqm file and what it holds in you could try to change the sleeping soldiers side to CIV or GUER.. but that's kind of a long shot too. ;D
Then you could unitname setbehaviour "careless" the non-sleeping soldiers, but with careless they look and act like the retunr of the living dead (+in drugs).
Erm... heh.. so go figure :-\
;D
edit: whoahold on there I just stumbled into this lil baby
friendly
Compatibility:
Version 1.78 required.
Type of returned value:
Side
Description:
Friendly side (friendly to all units).
It doesn't say how you operate it.. maybe it's like most of the commands
unitname Friendly
or
unitname Friendly true/false
try it out maybe it will work