Arma 3 Scripting

Function in Object Manipulation

BIS_fnc_textureVehicleIcon

Also available as Markdown and JSON, or read the original wiki page.

Description

Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon.

Syntax

[wantedIcon] call BIS_fnc_textureVehicleIcon

Parameters:

Returns: String - icon texture path, or wantedIcon if not found

Examples

Example 1

private _mediTexture = ["iconManMedic"] call BIS_fnc_textureVehicleIcon;

See also

BIS_fnc_textureMarker