BIS fnc textureVehicleIcon: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[private\]\] (_?[a-zA-Z0-9_]+) = \[([^\[]*)\] \[\[(call|spawn)\]\] \[\[(BI(N|S)_fnc_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>private $1 = [$2] $3 $4;</sqf>")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " |s1=[" to " |s1= [")  | 
				||
| Line 8: | Line 8: | ||
|descr= Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon.  | |descr= Checks whether icon is defined in CfgVehicleIcons and if so, returns the icon.  | ||
|s1=[wantedIcon] call [[BIS_fnc_textureVehicleIcon]]  | |s1= [wantedIcon] call [[BIS_fnc_textureVehicleIcon]]  | ||
|p1= wantedIcon: [[String]]  | |p1= wantedIcon: [[String]]  | ||
Latest revision as of 23:12, 12 July 2022
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:
 
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