The possible types of tasks are these:
TaskType: build
u n n2 unit-id
This type of task directs the unit to build n units of type u. n2 is the number already built in the run and unit-id is the (optional) id of a unit already being built.
TaskType: capture
unit-id
TaskType: disband
This type of task directs the unit to disband itself.
TaskType: do-action
n action
TaskType: hit-position
x y z
TaskType: hit-unit
unit-id
TaskType: move-dir
dir
TaskType: move-to
x y z dist
This type of task directs the unit to move to a distance of
no more than dist
cells from the given location.
TaskType: occupy
unit
TaskType: pickup
unit
TaskType: repair
unit
TaskType: resupply
TaskType: sentry
n
This task type directs the unit to stay where it is for the next n turns.