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

DORDER_DEMOLISH

Overview

Instruct a construction droid to demolish one of your structures.

Availability

Warzone 3.1 Beta 1 and above.

Example

// tell constructionDroid to demolish myStructureObject
orderDroidObj(constructionDroid,DORDER_DEMOLISH,myStructureObject);

Notes

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

See also

  • Droids – quick reference of API features relating to droids
  • enumStruct() – get a list of your structures
  • orderDroidObj() – tell a droid to do something to something