Other great resources: Official JS API docs, Scripting Forum
DROID_CONSTRUCT
Overview
A construction truck or a cyborg engineer.
These units are capable of building, repairing and demolishing structures.
There is currently no way to determine if the unit is a cyborg or not.
See also
orderDroidBuild() – order the droid to build something
pickStructLocation() – ... but find a suitable place to build first!
Strange, but now in 3.1.1 version cyborg-builders not enums by this code:
for ( var e = 0; e < maxPlayers; ++e ){
builders = builders.concat(enumDroid(e, DROID_CONSTRUCT));
}
this work's only for Trucks