---
name: "BIS_fnc_diagVehicleIcons"
type: function
status: broken
groups: ["Diagnostic", "Broken Functions"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_diagVehicleIcons
revid: 352139
updated: 2024-02-01T23:25:13Z
---

# BIS_fnc_diagVehicleIcons

*Function · Diagnostic, Broken Functions · Arma 3 v1.00*

> [!WARNING]
> This function is listed as broken on the wiki.

## Description

Previews all vehicle icons on map.

> [!WARNING]
> This function is broken as it uses bad arguments for [BIS_fnc_returnParents](../functions/BIS_fnc_returnParents.md) (**line 35**, `""` instead of `true`)

## Syntax

```sqf
[parentClass, position, map] call BIS_fnc_diagVehicleIcons
```

**Parameters:**

- `parentClass`: [String](../topics/String.md) - (Optional, default "all")
- `position`: [Position](../topics/Position.md) - (Optional, default [100,100]) position of the first icon on the *map*, others will be layered on top of it
- `map`: [Control](../topics/Control.md) - (Optional, default `findDisplay 12 displayCtrl 51` a.k.a main map)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
["all", getPos player] call BIS_fnc_diagVehicleIcons;
```

<sub>Source: [BI Community Wiki — BIS fnc diagVehicleIcons](https://community.bistudio.com/wiki/BIS_fnc_diagVehicleIcons) (revision 352139).</sub>
