ACE3/addons/map/functions/fnc_copyMapMarkers.sqf

22 lines
334 B
Plaintext
Raw Normal View History

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