~~NOTOC~~ <=[[4rpl:start| Index]] ====== GetUnitConstructingData ====== GetUnitConstructingData(<-Unit) ->constructingDataVector ===== Description ===== 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:\\ * 0 = Energy * 1 = Anticreeper * 2 = Arg * 3 = Liftic ===== Examples ===== GetUnitConstructingData(self) ->constructingData <=[[4rpl:start| Index]]