object - commandobject - unit - tank - builder


void SetBuildTypeBuildElements(int nBuildType)

Scope: private

Parameters
nBuildType - work type:
buildWall - build wall,
buildTrench - dig trench,
buildFlatTerrain - flat terrain,
buildWideBridge - build wide bridge,
buildNarrowBridge - build narrow bridge,
buildWideTunnel - dig wide tunnel,
buildNarrowTunnel - dig narrow tunnel.

Return values
none

Description
This function sets Builder to one of modes listed above. Points to build can be added by functions AddElementsLine and AddElementPoint.

See also
CallBuildCurrentElement, AddElementsLine, AddElementPoint, NextElementPoint