PlayerUnits
Instance
This file is a description of an Instance’s Metatable. There is no accessible variable of this name. Most of its methods will expect an implicit “self” argument and should be invoked with a :
.
Methods
Script | UI | Returns | . or : | Name | Arguments |
---|---|---|---|---|---|
✓ | : | Create | |||
✓ | : | Destroy | |||
✓ | ✓ | Unit | : | FindID | UnitID [number] |
✓ | ✓ | : | GetCount | ||
✓ | : | GetFirstReadyUnit | |||
✓ | : | GetNextExtractingArchaeologist | |||
✓ | : | GetProcessingState | |||
✓ | : | IsBuildDisabled | |||
✓ | ✓ | : | Members | ||
✓ | : | RecomputeAllCosts | |||
✓ | : | RecomputeCost | |||
✓ | : | SetBuildDisabled |