BIS fnc getMarkers: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (infobox to template)
m (filled page)
Line 1: Line 1:
{{Function|= Comments
{{Function


| arma3 |Game name=
|game1= arma3


|1.78|Game version=
|version1= 1.78


<!---|arg= local |Multiplayer Arguments=--->
<!--|exec= server|=-->


<!---|eff= local |Multiplayer Effects=--->
<!--|arg= local-->


| <pre>/*
<!--|eff= local-->
Author: ZoZo


Description:
|descr= Gets markers by prefix.
    Gets markers by their prefix. Limit of markers is 128 (_MAX_MARKERS)


Parameters:
|[markerPrefix] call [[BIS_fnc_getMarkers]]|=Syntax
Select 0 - STRING: Marker's prefix


Returns:
|p1= markerPrefix: [[String]] - Prefix of the markers
Array of markers


Example:
|r1= [[Array]] - An array of markers
_xHandle = ["BIS_fia_arrow_"] call BIS_fnc_getMarkers;  //gets all markers with prefix BIS_fia_arrow_  (BIS_fia_arrow_1, BIS_fia_arrow_2, ..., BIS_fia_arrow_x)


*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=
|x1= <code>["BIS_] [[call]] [[BIS_fnc_getMarkers]];{{cc|["BIS_marker_1","BIS_marker_lz",...]}}</code>


|[] call [[BIS_fnc_getMarkers]]|Syntax=
|exec= call


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|seealso= [[BIS_fnc_cancelMarker]] [[BIS_fnc_blinkMarker]] [[BIS_fnc_rotateMarker]] [[BIS_fnc_resizeMarker]]


|Datatype - description|Return value=
|x1= <code></code>|Example 1=
|exec= call |Execution=
| |See also=
}}
}}



Revision as of 12:46, 6 January 2020

Hover & click on the images for description

Description

Description:
Gets markers by prefix.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Parameters:
markerPrefix: String - Prefix of the markers
Return Value:
Array - An array of markers

Examples

Example 1:
["BIS_] call BIS_fnc_getMarkers;// ["BIS_marker_1","BIS_marker_lz",...]

Additional Information

See also:
BIS_fnc_cancelMarker BIS_fnc_blinkMarker BIS_fnc_rotateMarker BIS_fnc_resizeMarker

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