Overview
Excerpt |
---|
Instruct a construction droid to demolish one of your structures. |
Availability
Warzone 3.1 Beta 1 and above.
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
orderDroidObj(myConstructionDroid,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