ACE3/addons/map/functions/fnc_copyMapMarkers.sqf
2015-01-15 03:51:18 -06:00

22 lines
334 B
Plaintext

/*
* Author: CAA-Picard
*
* Copy markers to mapd
*
* Argument:
* 0: Array of markers to copy (Array)
*
* Return value:
* Return
*/
_lineMarkers = _this;
{
_marker = _x;
if (({(_x select 0) == (_marker select 0)} count GVAR(lineMarkers)) == 0) then {
_marker call FUNC(addLineMarker);
};
} forEach _lineMarkers;