Wow, this is a good and very very useful editor discovery.
Replacing a foundation that is partially complete, with a unit, then giving that unit, the unit attribute; construction complete; 100% creates (and this is the amazing part)....military units that will not attack any enemy unit until it is manually tasked to attack! Even if that unit is attacked by another enemy unit or tower.
That has enormous possibilities!!