⇐ Index
GetUnitConstructingData(<-Unit) ->constructingDataVector
Pushes a vector to the stack with data related to the constructing state of the specified unit.
The .0 position in the vector contains the current amount of build resources in the unit.
The .1 position in the vector contains the max amount of build resources in the unit. When current == max, the unit will be constructed.
The .2 position in the vector contains the type of resource used to build the unit.
If the unit is not in the building state, the .0 and .1 values will be -1;
These are the resource types:
GetUnitConstructingData(self) ->constructingData
⇐ Index