Units trained is still scripted such that the building is built and then an initial unit type is set to be trained, and then structure agent continually trains that unit until told to train another unit.
There is also no logic to stop training a unit, such as if we have too many marines and no tanks, the marines will be taking up all the supply units, and we won't have any room for tanks.
Units trained is still scripted such that the building is built and then an initial unit type is set to be trained, and then structure agent continually trains that unit until told to train another unit.
There is also no logic to stop training a unit, such as if we have too many marines and no tanks, the marines will be taking up all the supply units, and we won't have any room for tanks.