BIS fnc textureVehicleIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add See also)
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 32: Line 32:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:textureVehicleIcon}}]]
[[Category:Functions|{{uc:textureVehicleIcon}}]]
[[Category:Function Group: Misc|{{uc:textureVehicleIcon}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:textureVehicleIcon}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:textureVehicleIcon}}]]

Revision as of 08:44, 10 October 2020

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:
Uncategorised

Syntax

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

Examples

Example 1:
_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

Notes

Bottom Section