---
name: "setSimpleTaskType"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "1.58"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setSimpleTaskType
revid: 349265
updated: 2023-11-08T14:51:08Z
---

# setSimpleTaskType

*Command · Briefing · Arma 3 v1.58*

## Description

Attach type to the simple task. See Default Task Types.

## Syntax

```sqf
task setSimpleTaskType taskType
```

**Parameters:**

- `task`: [Task](../topics/Task.md)
- `taskType`: [String](../topics/String.md) - type of task

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

## Examples

### Example 1

```sqf
(currentTask player) setSimpleTaskType "attack";
```

## See also

[taskType](../commands/taskType.md) · [currentTask](../commands/currentTask.md) · [setSimpleTaskCustomData](../commands/setSimpleTaskCustomData.md) · [taskCustomData](../commands/taskCustomData.md) · Arma 3 Tasks Overhaul

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