{"name":"BIS_fnc_taskSetCurrent","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":"global","effect":"global","server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"taskName","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"taskName: String"},{"name":"showNotification","type":"Boolean","optional":true,"default":"true","description":"true to show notification, false to disable it","types":["Boolean"],"since":null,"text":"showNotification: Boolean - (Optional, default true) true to show notification, false to disable it"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\n\"BIS_task_01\" call BIS_fnc_taskSetCurrent;\n```","code":["\"BIS_task_01\" call BIS_fnc_taskSetCurrent;"]},{"text":"```sqf\n[\"BIS_task_01\", false] call BIS_fnc_taskSetCurrent; //Assign without notificiation\n```","code":["[\"BIS_task_01\", false] call BIS_fnc_taskSetCurrent; //Assign without notificiation"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Task Framework"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Tasks","Functions","Functions: Global Effect","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}