---
name: "BIN_fnc_getRoleIcon"
type: function
status: ok
groups: ["Contact"]
arma3_since: "1.94"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIN_fnc_getRoleIcon
revid: 309620
updated: 2022-05-05T12:07:45Z
---

# BIN_fnc_getRoleIcon

*Function · Contact · Arma 3 v1.94*

## Description

Get soldier's role icon (e.g., sniper, machine-gunner, etc.)

> [!NOTE]
> This content is exclusive to the Arma 3 Contact Expansion.

## Syntax

*syntax inferred from the function header*

```sqf
[param0] call BIN_fnc_getRoleIcon
```

**Parameters:**

- `param0` — 0: OBJECT

**Returns:** STRING - image path

## Function header

The comment at the top of the function's file in the game; this page's params, syntax, returns, description come from it.

```sqf
/*
Description:
    Get soldier's role icon (e.g., sniper, machine-gunner, etc.)

Parameter(s):
    0: OBJECT

Returns:
    STRING - image path
*/
```

<sub>Source: [BI Community Wiki — BIN fnc getRoleIcon](https://community.bistudio.com/wiki/BIN_fnc_getRoleIcon) (revision 309620).</sub>
