BIS fnc getMarkers: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - ";{{cc|" to "; {{cc|") |
(corrected description and example) |
||
Line 7: | Line 7: | ||
|gr1= Map and Markers | |gr1= Map and Markers | ||
|descr= | |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. | ||
|[markerPrefix] call [[BIS_fnc_getMarkers]]|=Syntax | |[markerPrefix] call [[BIS_fnc_getMarkers]]|=Syntax | ||
Line 15: | Line 15: | ||
|r1= [[Array]] - An array of markers | |r1= [[Array]] - An array of markers | ||
|x1= <code>[" | |x1= <code>["BIS_marker_"] [[call]] [[BIS_fnc_getMarkers]]; {{cc|["BIS_marker_1","BIS_marker_2",...]}}</code> | ||
|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]] | ||
}} | }} |
Revision as of 17:15, 27 February 2021
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:
- Syntax needed
- Parameters:
- markerPrefix: String - Prefix of the markers
- Return Value:
- Array - An array of markers
Examples
- Example 1:
["BIS_marker_"] call BIS_fnc_getMarkers; // ["BIS_marker_1","BIS_marker_2",...]
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