{"name":"BIS_fnc_textureVehicleIcon","operator":null,"title":"BIS fnc textureVehicleIcon","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_textureVehicleIcon","revid":327466,"updated":"2022-07-12T22:12:10Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon.","syntaxes":[{"syntax":"[wantedIcon] call BIS_fnc_textureVehicleIcon","since":null,"effect":null,"exec":null,"params":[{"name":"wantedIcon","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"wantedIcon: String"}],"returns":{"type":"String","types":["String"],"description":"icon texture path, or wantedIcon if not found","text":"String - icon texture path, or *wantedIcon* if not found"}}],"examples":[{"text":"```sqf\nprivate _mediTexture = [\"iconManMedic\"] call BIS_fnc_textureVehicleIcon;\n```","code":["private _mediTexture = [\"iconManMedic\"] call BIS_fnc_textureVehicleIcon;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_textureMarker"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Object Manipulation","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}