{"name":"BIS_fnc_taskCurrent","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","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"argument":"global","effect":"global"},"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","params":[{"name":"unit","type":"Object","description":"unit to be checked","type_expr":"Object"}],"returns":{"type":"String","type_expr":"String","description":"task ID"}}],"examples":[{"code":["private _currentTask = player call BIS_fnc_taskCurrent;"]}],"see_also":["Arma 3: Task Framework"]}