{"name":"BIN_fnc_taskActive","operator":null,"title":"BIN fnc taskActive","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_taskActive","revid":286076,"updated":"2021-06-20T17:25:19Z","groups":["Contact"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return if task is active, i.e., added to player, but not yet completed. Only in this state can player assign it.\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0] call BIN_fnc_taskActive","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"task ID","since":null,"text":"0: STRING - task ID","source":"docblock"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"BOOL","source":"docblock"},"inferred":true}],"examples":[{"text":"```sqf\nif (\"q_schnobble\" call BIN_fnc_taskActive) then {hint \"ACTIVE!\";};\n```","code":["if (\"q_schnobble\" call BIN_fnc_taskActive) then {hint \"ACTIVE!\";};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Contact","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":null,"description":"Return if task is active, i.e., added to player, but not yet completed. Only in this state can player assign it.","params":[{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"task ID","text":"STRING - task ID"}],"returns":{"types":["Boolean"],"text":"BOOL"},"examples":["if (\"q_schnobble\" call BIN_fnc_taskActive) then {hint \"ACTIVE!\";};"],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\n    Return if task is active, i.e., added to player, but not yet completed.\n    Only in this state can player assign it.\n\nParameter(s):\n    0: STRING - task ID\n\nReturns:\n    BOOL\n\nExample:\n    if (\"q_schnobble\" call BIN_fnc_taskActive) then {hint \"ACTIVE!\";};"},"filled_from_docblock":["params","syntax","returns","examples","description"]}