builder object
object +-- commandobject +-- unit +-- tank +-- builder
Description
Scripts of type builder are attached to Builder units.
Functions
void CallBuildBuilding() void CallBuildCurrentElement() int IsBuildWorking() void SetBuildTypeBuildBuilding(int nX, int nY, int nZ, int nAlphaAngle, int nBuildingID) void SetBuildTypeBuildElements(int nBuildType) int GetCurrentBuildType() int IsInGoodPointForCurrentBuild() int IsGoodPointForCurrentBuild(int nX, int nY, int nZ) int GetCurrentBuildLocationX() int GetCurrentBuildLocationY() int GetCurrentBuildLocationZ() int AddElementsLine(int nX1, int nY1, int nZ1, int nX2, int nY2, int nZ2) int AddElementPoint(int nX, int nY, int nZ) int IsGoodElementPointForBuild(int nX, int nY, int nZ) void RemoveAllElements() int GetCurrentElementX() int GetCurrentElementY() int GetCurrentElementZ() int HaveElementsForBuild() int NextElementPoint()
Enums
Build type enums:
buildNone buildBuilding buildWall buildTrench buildFlatTerrain buildWideBridge buildNarrowBridge buildWideTunnel buildNarrowTunnel