s2client-api
s2client-api copied to clipboard
Expose the building unit that a Terran SCV is constructing
I have not been able to find a way to determine which unit a Terran SCV is currently constructing. I can see that the SCV has a build command, but the unit it is building is not known
We should probably have the UnitOrder of the SCV contain the tag of the structure it is building. We could possibly reuse UnitOrder::target_unit_tag for this.
+1
It is really hard to determine which building is constructed now. Probably there are also could be onBuildingConstructionStarted() event.