{"name":"BIS_fnc_taskVar","operator":null,"title":"BIS fnc taskVar","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskVar","revid":352089,"updated":"2024-02-01T23:24:47Z","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":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns task's variable name. \n\n> [!NOTE]\n> See Arma 3: Task Framework for more information.","syntaxes":[{"syntax":"taskID call BIS_fnc_taskVar","since":null,"effect":null,"exec":null,"params":[{"name":"taskID","type":"String","optional":false,"default":null,"description":"ID of the task","types":["String"],"since":null,"text":"taskID: String - ID of the task"}],"returns":{"type":"String","types":["String"],"description":"returns \"@test\" for a task with the variable name \"test\".","text":"String - returns **\"@test\"** for a task with the variable name **\"test\"**."}}],"examples":[{"text":"```sqf\n\"task_1\" call BIS_fnc_taskVar;\n```","code":["\"task_1\" call BIS_fnc_taskVar;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Task Framework"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Tasks","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}