---
name: "setFormationTask"
type: command
status: ok
groups: ["Unit Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setFormationTask
revid: 319792
updated: 2022-05-13T09:24:53Z
---

# setFormationTask

*Command · Unit Control · Arma 3 v0.50 · introduced in Operation Flashpoint: Elite v1.00*

## Description

Set the current task of the formation member. 

> [!NOTE]
> This command is not available in Arma 2.

## Syntax

```sqf
unit setFormationTask task
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `task`: [String](../topics/String.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_unit setFormationTask "MOVE";
```

## See also

[formationTask](../commands/formationTask.md)

<sub>Source: [BI Community Wiki — setFormationTask](https://community.bistudio.com/wiki/setFormationTask) (revision 319792).</sub>
