{"name":"BIS_fnc_taskTypeIcon","operator":null,"title":"BIS fnc taskTypeIcon","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_taskTypeIcon","revid":352033,"updated":"2024-02-01T23:24:28Z","groups":["Tasks"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.58"}],"since":{"game":"arma3","name":"Arma 3","version":"1.58"},"arma3_since":"1.58","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns path to the icon texture associated with given task type. \n\n> [!NOTE]\n> See Arma 3: Task Framework for more information.","syntaxes":[{"syntax":"[type, default] call BIS_fnc_taskTypeIcon","since":null,"effect":null,"exec":null,"params":[{"name":"type","type":"String","optional":false,"default":null,"description":"task type","types":["String"],"since":null,"text":"type: String - task type"},{"name":"default","type":"Config","optional":false,"default":null,"description":"config path to get default path from, if **type** does not exist","types":["Config"],"since":null,"text":"default: Config - config path to get default path from, if **type** does not exist"}],"returns":{"type":"String","types":["String"],"description":"path to the task type texture.","text":"String - path to the task type texture."}}],"examples":[{"text":"```sqf\n[\"attack\",configFile >> \"CfgTaskTypes\" >> \"Run\" >> \"icon\"] call BIS_fnc_taskTypeIcon;\n```","code":["[\"attack\",configFile >> \"CfgTaskTypes\" >> \"Run\" >> \"icon\"] call BIS_fnc_taskTypeIcon;"]}],"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.58"],"docblock":null,"filled_from_docblock":[]}