If a marker is added to the "markers" field the following script error is shown:
11:44:44 Error in expression <[marker_0]> 11:44:44 Error position: <marker_0]> 11:44:44 Error Undefined variable in expression: marker_0 11:44:44 ➥ Context: [] L5 (A3\modules_f\StrategicMap\functions\fn_moduleStrategicMapInit.sqf [BIS_fnc_moduleStrategicMapInit]) [] L1 () 11:44:44 Error in expression <call compile ("[" + _markers + "]"); { _x setmarkeralpha 0; } foreach _markers;> 11:44:44 Error position: <_x setmarkeralpha 0; } foreach _markers;> 11:44:44 Error Undefined variable in expression: _x 11:44:44 File A3\modules_f\StrategicMap\functions\fn_moduleStrategicMapInit.sqf [BIS_fnc_moduleStrategicMapInit]..., line 8 11:44:44 ➥ Context: [] L9 (A3\modules_f\StrategicMap\functions\fn_moduleStrategicMapInit.sqf [BIS_fnc_moduleStrategicMapInit]) [] L8 (A3\modules_f\StrategicMap\functions\fn_moduleStrategicMapInit.sqf [BIS_fnc_moduleStrategicMapInit])
From BIS_fnc_moduleStrategicMapInit:
_markers = _logic getvariable ["Markers",""]; //Correctly contains the marker(s) "marker_0" _markers = call compile ("[" + _markers + "]"); //Fails, returns [any] { _x setmarkeralpha 0; } foreach _markers;