---
name: "BIS_fnc_taskTypeIcon"
type: function
status: ok
groups: ["Tasks"]
arma3_since: "1.58"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_taskTypeIcon
revid: 352033
updated: 2024-02-01T23:24:28Z
---

# BIS_fnc_taskTypeIcon

*Function · Tasks · Arma 3 v1.58*

## Description

Returns path to the icon texture associated with given task type. 

> [!NOTE]
> See Arma 3: Task Framework for more information.

## Syntax

```sqf
[type, default] call BIS_fnc_taskTypeIcon
```

**Parameters:**

- `type`: [String](../topics/String.md) - task type
- `default`: [Config](../topics/Config.md) - config path to get default path from, if **type** does not exist

**Returns:** [String](../topics/String.md) - path to the task type texture.

## Examples

### Example 1

```sqf
["attack",configFile >> "CfgTaskTypes" >> "Run" >> "icon"] call BIS_fnc_taskTypeIcon;
```

## See also

Arma 3: Task Framework

<sub>Source: [BI Community Wiki — BIS fnc taskTypeIcon](https://community.bistudio.com/wiki/BIS_fnc_taskTypeIcon) (revision 352033).</sub>
