(info) Other great resources: Official JS API docs, Scripting Forum

DORDER_LINEBUILD

Overview

Indicates that a construction droid is building a line of structures (eg. a long wall).

Availability

Warzone 3.1 Beta 1 and above.

Example

Check if a truck droid is building lots of defences
if (enemyTruck.order == DORDER_LINEBUILD) {
  // it's probably building defences, you should destroy it!
}

Notes

The droid's current order can be determined from it's .order property. For more infomration see Droid object.

It's not currently possible to issue this order via the JS API at the time of writing – there is no structure building function that accepts start / end positions.

Line building is usually done for defences (walls, gates, towers, etc.) but can also be done for things like rearming pads.

See also

  • .order – list of all order constants