Index
Unit

:!: Available in version 1.4 and later.

ConstructUnit

ConstructUnit(<-unit <-amt)

Description

For a unit that is constructing, add some amount of energy or ware to its progress. If the unit is not constructing, this call has no effect. If the amount added exceeds or meets that amount necessary to complete constructing, the unit will complete its build and exit the build state.

Examples

ConstructUnit(self 1)

Index