mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
518010be36
- mapfx moved inside map - everything related to map tools and drawing moved to it's own pbo called ace_maptools Also fixed a couple of bugs in BFT - Only a single marker was being drawn - The BFT_HideAi parameter had the opposite effect
24 lines
427 B
Plaintext
24 lines
427 B
Plaintext
/*
|
|
* Author: CAA-Picard
|
|
*
|
|
* Copy recieved markers to map
|
|
*
|
|
* Argument:
|
|
* 0: Array of markers to copy (Array)
|
|
*
|
|
* Return value:
|
|
* Return
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
PARAMS_1(_lineMarkers);
|
|
|
|
{
|
|
_marker = _x;
|
|
//Add marker if we don't already have it
|
|
if (({(_x select 0) == (_marker select 0)} count GVAR(drawing_lineMarkers)) == 0) then {
|
|
_marker call FUNC(addLineMarker);
|
|
};
|
|
} forEach _lineMarkers;
|