update mapcopy module with CBA events

This commit is contained in:
2024-02-08 12:47:51 -08:00
parent 7268d8fd50
commit fba423e38d
14 changed files with 112 additions and 60 deletions

View File

@@ -0,0 +1,15 @@
#include "..\script_component.hpp"
// serializes markers on local machine and returns them as array
_markerData = [];
{
_marker = toArray _x;
_marker resize 15;
if ( toString _marker == "_USER_DEFINED #" ) then {
_marker = _x call FUNC(mapMarkerToString);
_markerData pushBack _marker;
};
} forEach allMapMarkers;
_markerData;