Other great resources: Official JS API docs, Scripting Forum
.order
Overview
Defines the order which a droid is currently performing (the .order property of a Droid object) or must perform (orderDroid*() functions).
Availability
These constants have been added at various stages of Warzone's evolution. For more information see: Constants by version.
You can add missing constants, along with some that aren't yet exposed by the JS API, using backport.dorder.js.
Constants
See also
Droids – list of all API features relating to droids.
orderdef.h – the C++ source file that defines all the order constants (there are several that aren't yet exposed to the JS API but you can still use them by passing in their number)
order.cpp – the C++ source file that makes the orders actually happen
orderDroid() – issue a simple order (that doesn't require a location or object) to a droid
orderDroidBuild() – tell a construction droid to build something
orderDroidLoc() – tell a droid to do something at a specific location
orderDroidObj() – tell a droid to do something to a specific object