{"name":"BIS_fnc_taskCurrent","operator":null,"title":"BIS fnc taskCurrent","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskCurrent","revid":352232,"updated":"2024-02-01T23:26:09Z","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":"Returns unit's current task. \n\n> [!NOTE]\n> See Arma 3: Task Framework for more information.","syntaxes":[{"syntax":"unit call BIS_fnc_taskCurrent","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":"unit to be checked","types":["Object"],"since":null,"text":"unit: Object - unit to be checked"}],"returns":{"type":"String","types":["String"],"description":"task ID","text":"String - task ID"}}],"examples":[{"text":"```sqf\nprivate _currentTask = player call BIS_fnc_taskCurrent;\n```","code":["private _currentTask = player call BIS_fnc_taskCurrent;"]}],"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":[]}