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

# setCurrentTask

*Command · Briefing · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Set the task as a current task of the person.

## Syntax

```sqf
object setCurrentTask task
```

**Parameters:**

- `object`: [Object](../topics/Object.md) - the unit having the task
- `task`: [Task](../topics/Task.md) - the task you want to select

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

## Examples

### Example 1

```sqf
player setCurrentTask tskKillSpongebob;
```

## See also

[createSimpleTask](../commands/createSimpleTask.md) · [simpleTasks](../commands/simpleTasks.md) · [currentTask](../commands/currentTask.md)

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