{"name":"taskHint","operator":null,"title":"taskHint","type":"command","url":"https://community.bistudio.com/wiki/taskHint","revid":377725,"updated":"2026-01-02T09:36:56Z","groups":["Briefing"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Shows info about new, changed or failed task. The text can contain several lines. `\\n` is used to set a line return.\n\n> [!NOTE]\n> **Arma 3:** It is recommended to use BIS_fnc_showNotification in order to maintain Arma 3's visual style.","syntaxes":[{"syntax":"taskHint [text, color, icon]","since":null,"effect":null,"exec":null,"params":[{"name":"text","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"text: String"},{"name":"color","type":null,"optional":false,"default":null,"description":"Color (RGBA)","types":["Color"],"since":null,"text":"color: Color (RGBA)"},{"name":"icon","type":"String","optional":false,"default":null,"description":"one of:\n- \"taskNew\"\n- \"taskCurrent\"\n- \"taskDone\"\n- \"taskFailed\"","types":["String"],"since":null,"text":"icon: String - one of:\n- \"taskNew\"\n- \"taskCurrent\"\n- \"taskDone\"\n- \"taskFailed\""}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[text, color, icon]","types":["Array"]}}],"examples":[{"text":"```sqf\ntaskHint [\"Task failed.\\nBad job!\", [1, 0, 0, 1], \"taskFailed\"];\n```","code":["taskHint [\"Task failed.\\nBad job!\", [1, 0, 0, 1], \"taskFailed\"];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_showNotification","Task"],"notes":[{"user":"Kylania","date":"2011-07-15T03:37:00Z","text":"Here are the BIS colors:\n\n```sqf\ntaskHint [\"New Task!\\nHere's your new task!\",    [1, 1, 1, 1],                    \"taskNew\"];\ntaskHint [\"Task Assigned!\\nDo this now!\",        [1, 1, 1, 1],                    \"taskCurrent\"];\ntaskHint [\"Task Succeeded!\\nGood job!\",            [0.60,0.839215,0.466666,1],        \"taskDone\"];\ntaskHint [\"Task Failed!\\nBad job!\",                [0.972549,0.121568,0,1],        \"taskFailed\"];\ntaskHint [\"Task Canceled!\\nNever mind!\",        [0.75,0.75,0.75,1],                \"taskFailed\"];\n```"}],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Briefing","Introduced with Arma 2 version 1.00","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}