Arma 3 Scripting

Command in Briefing

taskHint

Also available as Markdown and JSON, or read the original wiki page.

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 in order to maintain Arma 3's visual style.

Syntax

taskHint [text, color, icon]

Parameters:

Returns: Nothing

Examples

Example 1

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

See also

BIS_fnc_showNotification · Task

Community notes

Kylania

Here are the BIS colors:

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"];