BIS fnc textureMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Map and Markers | |gr1 = Map and Markers | ||
| Checks whether texture is defined in CfgMarkers and if so, returns the marker texture. | | Checks whether texture is defined in CfgMarkers and if so, returns the marker texture. | ||
| [wantedMarker] call [[BIS_fnc_textureMarker]] | | [wantedMarker] call [[BIS_fnc_textureMarker]] | ||
|p1= wantedMarker: [[String]] - marker type | |p1= wantedMarker: [[String]] - marker type | ||
| [[String]] - icon texture path, or ''wantedMarker'' if not found | | [[String]] - icon texture path, or ''wantedMarker'' if not found | ||
|x1= <code>_notWhiteFlag = ["flag_France"] [[call]] [[BIS_fnc_textureMarker]];</code> | |x1= <code>_notWhiteFlag = ["flag_France"] [[call]] [[BIS_fnc_textureMarker]];</code> | ||
| [[BIS_fnc_textureVehicleIcon]] | | [[BIS_fnc_textureVehicleIcon]] | ||
}} | }} | ||
Revision as of 23:48, 17 January 2021
Description
- Description:
- Checks whether texture is defined in CfgMarkers and if so, returns the marker texture.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [wantedMarker] call BIS_fnc_textureMarker
- Parameters:
- wantedMarker: String - marker type
- Return Value:
- String - icon texture path, or wantedMarker if not found
Examples
- Example 1:
_notWhiteFlag = ["flag_France"] call BIS_fnc_textureMarker;
Additional Information
- See also:
- BIS_fnc_textureVehicleIcon
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