{"name":"BIS_fnc_taskSetCurrent","title":"BIS fnc taskSetCurrent","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskSetCurrent","revid":352102,"updated":"2024-02-01T23:24:52Z","groups":["Tasks"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"argument":"global","effect":"global"},"description":"Set a task to current. Identical to assigning a task.\n\n> [!NOTE]\n> See Arma 3: Task Framework.","syntaxes":[{"syntax":"taskName call BIS_fnc_taskSetCurrent","params":[{"name":"taskName","type":"String","type_expr":"String"},{"name":"showNotification","type":"Boolean","optional":true,"default":"true","description":"true to show notification, false to disable it","type_expr":"Boolean","text":"showNotification: Boolean - (Optional, default true) true to show notification, false to disable it"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["\"BIS_task_01\" call BIS_fnc_taskSetCurrent;"]},{"code":["[\"BIS_task_01\", false] call BIS_fnc_taskSetCurrent; //Assign without notificiation"]}],"see_also":["Arma 3: Task Framework"]}