s2client-api icon indicating copy to clipboard operation
s2client-api copied to clipboard

Expose the building unit that a Terran SCV is constructing

Open davechurchill opened this issue 7 years ago • 2 comments

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

davechurchill avatar Aug 08 '17 00:08 davechurchill

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.

KevinCalderone avatar Aug 08 '17 02:08 KevinCalderone

+1

It is really hard to determine which building is constructed now. Probably there are also could be onBuildingConstructionStarted() event.

alkurbatov avatar Nov 04 '17 13:11 alkurbatov