BIS fnc textureVehicleIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 20: Line 20:
}}
}}


<h3 style="display:none">Bottom Section</h3>
 
[[Category:Functions|{{uc:textureVehicleIcon}}]]
[[Category:Functions|{{uc:textureVehicleIcon}}]]


[[Category:{{Name|arma3}}: Functions|{{uc:textureVehicleIcon}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:textureVehicleIcon}}]]

Revision as of 01:27, 18 January 2021

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