BIS fnc textureVehicleIcon: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling - missing seeAlso) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [wantedIcon] call [[BIS_fnc_textureVehicleIcon]] |Syntax= | ||
|p1= | | |p1= wantedIcon: [[String]] |Parameter 1= | ||
| | | | [[String]] - icon texture path, or ''wantedIcon'' if not found |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>_mediTexture = ["iconManMedic"] [[call]] [[BIS_fnc_textureVehicleIcon]];</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | |See also= | ||
}} | }} | ||
Line 45: | Line 31: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:textureVehicleIcon}}]] | |||
[[Category:Function Group: Misc|{{uc:textureVehicleIcon}}]] | [[Category:Function Group: Misc|{{uc:textureVehicleIcon}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:textureVehicleIcon}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:textureVehicleIcon}}]] |
Revision as of 15:39, 6 June 2018
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:
- See also needed
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