---
name: "setSimpleTaskTarget"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setSimpleTaskTarget
revid: 376222
updated: 2025-09-20T13:11:55Z
---

# setSimpleTaskTarget

*Command · Briefing · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.55*

## Description

Attach a target to the simple task.
Overrides [setSimpleTaskDestination](../commands/setSimpleTaskDestination.md).

## Syntax

```sqf
task setSimpleTaskTarget [target, precisePosition]
```

**Parameters:**

- `task`: [Task](../topics/Task.md)
- `target`: [Object](../topics/Object.md)
- `precisePosition`: [Boolean](../topics/Boolean.md) - use exact position of the target for map marker / HUD indicator instead of the position known to the task's owner (depending on the unit's knowledge of the target)

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

## Examples

### Example 1

```sqf
_task setSimpleTaskTarget [targetVehicle, true];
```

## See also

briefing · [createSimpleTask](../commands/createSimpleTask.md) · [setSimpleTaskDestination](../commands/setSimpleTaskDestination.md)

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