BIS_fnc_textureVehicleIcon

From Bohemia Interactive Community
Revision as of 13:08, 6 May 2022 by Lou Montana (talk | contribs) (Text replacement - "code>_([a-zA-Z0-9_]+) = " to "code>private _$1 = ")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[wantedIcon] call BIS_fnc_textureVehicleIcon
Parameters:
wantedIcon: String
Return Value:
String - icon texture path, or wantedIcon if not found

Examples

Example 1:
private _mediTexture = ["iconManMedic"] call BIS_fnc_textureVehicleIcon;

Additional Information

See also:
BIS_fnc_textureMarker

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note