public class Task
extends Object
Modifier and Type | Method and Description |
---|---|
bool |
aiTaskUnitBuild(int unitID,
int buildingTypeID,
vector position)
Does a lightweight (no plan) build tasking of the given unit to build the given building.
|
bool |
aiTaskUnitDelete(int unitID)
Deletes the given unit.
|
bool |
aiTaskUnitMove(int unitID,
vector position)
Does a lightweight (no plan) move tasking of the given unit to the given location.
|
bool |
aiTaskUnitResearch(int unitID,
int techID)
Does a lightweight (no plan) research tasking of the given unit for the given tech ID.
|
bool |
aiTaskUnitSpecialPower(int unitID,
int powerID,
vector position)
Does a lightweight (no plan) research tasking of the given unit for the given special power.
|
bool |
aiTaskUnitTrain(int unitID,
int unitTypeID)
Does a lightweight (no plan) train tasking of the given unit for the given target unit type.
|
bool |
aiTaskUnitTransform(int unitID)
Takes the given unit, and transforms it according to the unit transform table in world.
|
bool |
aiTaskUnitWork(int unitID,
int targetUnitID)
Does a lightweight (no plan) work tasking of the given unit on the given target unit.
|
public bool aiTaskUnitMove(int unitID, vector position)
public bool aiTaskUnitWork(int unitID, int targetUnitID)
public bool aiTaskUnitBuild(int unitID, int buildingTypeID, vector position)
public bool aiTaskUnitTrain(int unitID, int unitTypeID)
public bool aiTaskUnitResearch(int unitID, int techID)
public bool aiTaskUnitSpecialPower(int unitID, int powerID, vector position)
public bool aiTaskUnitDelete(int unitID)
public bool aiTaskUnitTransform(int unitID)