BIS fnc getMarkers: Difference between revisions
Jump to navigation
Jump to search
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...) |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2") |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 1.78 | |version1= 1.78 | ||
|gr1= Map and Markers | |gr1= Map and Markers | ||
|descr= Returns markers in format PREFIX_N where PREFIX_ is the provided argument and N is an integer between 1 and 128. If there are 128 markers but marker 123 is missing, then only the first 122 marker will be returned. | |||
|s1= [markerPrefix] call [[BIS_fnc_getMarkers]] | |||
| | |p1= markerPrefix: [[String]] - prefix of the markers | ||
| | |r1= [[Array]] - an array of markers | ||
|x1= <sqf>["BIS_marker_"] call BIS_fnc_getMarkers; // ["BIS_marker_1","BIS_marker_2",...]</sqf> | |||
|x1= < | |||
|seealso= [[BIS_fnc_cancelMarker]] [[BIS_fnc_blinkMarker]] [[BIS_fnc_rotateMarker]] [[BIS_fnc_resizeMarker]] | |seealso= [[BIS_fnc_cancelMarker]] [[BIS_fnc_blinkMarker]] [[BIS_fnc_rotateMarker]] [[BIS_fnc_resizeMarker]] | ||
}} | }} | ||
Latest revision as of 15:45, 8 November 2023
Description
- Description:
- Returns markers in format PREFIX_N where PREFIX_ is the provided argument and N is an integer between 1 and 128. If there are 128 markers but marker 123 is missing, then only the first 122 marker will be returned.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [markerPrefix] call BIS_fnc_getMarkers
- Parameters:
- markerPrefix: String - prefix of the markers
- Return Value:
- Array - an array of markers
Examples
- Example 1:
Additional Information
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