Order

Members

Member

Description

basePriority

The priority of this order when not assigned to any squads.

hasOverrideTargetPosition

isIssuedByPlayer

Returns true if this order was created by the player via the tactics view.

priority

The current priority of the order, modified by any squads it is currently assigned to.

sourcePoint

The spawn point this order originated from.

targetPoint

The spawn point this order targets.

type

Methods

Method

Description

DropOverrideTargetPosition()

Drops the active override target position.

GetOverrideTargetPosition()

SetOverrideTargetPosition(position)

Sets an override target position.

ToString()

Static methods

Method

Description

Create(type, source, target)

Create(type, source, target, overridePosition)

CreateMoveOrder(targetPosition)

Convenience function that creates a move order to the specified override target position.

Details

class Order
int basePriority

The priority of this order when not assigned to any squads.

const bool hasOverrideTargetPosition
const bool isIssuedByPlayer

Returns true if this order was created by the player via the tactics view.

const int priority

The current priority of the order, modified by any squads it is currently assigned to.

const SpawnPoint sourcePoint

The spawn point this order originated from.

const SpawnPoint targetPoint

The spawn point this order targets.

const OrderType type
void DropOverrideTargetPosition()

Drops the active override target position.

Vector3 GetOverrideTargetPosition()
void SetOverrideTargetPosition(Vector3 position)

Sets an override target position. Gives full control over exactly where the squad goes when completing the objective.

string ToString()
static Order Create(OrderType type, SpawnPoint source, SpawnPoint target)
static Order Create(OrderType type, SpawnPoint source, SpawnPoint target, Vector3 overridePosition)
static Order CreateMoveOrder(Vector3 targetPosition)

Convenience function that creates a move order to the specified override target position.