---
name: "taskHint"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/taskHint
revid: 377725
updated: 2026-01-02T09:36:56Z
---

# taskHint

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

Locality: effect **local**

## Description

Shows info about new, changed or failed task. The text can contain several lines. `\n` is used to set a line return.

> [!NOTE]
> **Arma 3:** It is recommended to use [BIS_fnc_showNotification](../functions/BIS_fnc_showNotification.md) in order to maintain Arma 3's visual style.

## Syntax

```sqf
taskHint [text, color, icon]
```

**Parameters:**

- `text`: [String](../topics/String.md)
- `color`: [Color (RGBA)](../topics/Color.md)
- `icon`: [String](../topics/String.md) - one of:
  - "taskNew"
  - "taskCurrent"
  - "taskDone"
  - "taskFailed"

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

## Examples

### Example 1

```sqf
taskHint ["Task failed.\nBad job!", [1, 0, 0, 1], "taskFailed"];
```

## See also

[BIS_fnc_showNotification](../functions/BIS_fnc_showNotification.md) · [Task](../topics/Task.md)

## Community notes

**Kylania** — 2011-07-15

Here are the BIS colors:

```sqf
taskHint ["New Task!\nHere's your new task!",    [1, 1, 1, 1],                    "taskNew"];
taskHint ["Task Assigned!\nDo this now!",        [1, 1, 1, 1],                    "taskCurrent"];
taskHint ["Task Succeeded!\nGood job!",            [0.60,0.839215,0.466666,1],        "taskDone"];
taskHint ["Task Failed!\nBad job!",                [0.972549,0.121568,0,1],        "taskFailed"];
taskHint ["Task Canceled!\nNever mind!",        [0.75,0.75,0.75,1],                "taskFailed"];
```

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