{"name":"BIS_fnc_markerToString","title":"BIS fnc markerToString","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_markerToString","revid":337081,"updated":"2023-01-11T10:52:08Z","groups":["Map and Markers"],"status":"ok","games":{"arma3":"1.92"},"since":"arma3 1.92","arma3_since":"1.92","description":"Converts existing marker to String, for example: `\"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here\"`","syntaxes":[{"syntax":"[markerName, delimiter] call BIS_fnc_markerToString","params":[{"name":"markerName","type":"String","description":"existing marker","type_expr":"String"},{"name":"delimiter","type":"String","optional":true,"default":"`|`","description":"a single data delimiter character","type_expr":"String","text":"delimiter: String - (Optional, default `|`) a single data delimiter character"}],"returns":{"type":"String","type_expr":"String","description":"serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal"}}],"examples":[{"code":["\"marker1\" call BIS_fnc_markerToString;"]},{"code":["[\"marker1\", \":\"] call BIS_fnc_markerToString;"]}],"see_also":["BIS_fnc_stringToMarker","BIS_fnc_stringToMarkerLocal","BIS_fnc_markerToTrigger","createMarker","createMarkerLocal"],"notes":[{"user":"7erra","date":"2019-05-03T12:17:00Z","text":"The format is the following:\n\n```\n\"|MARKERNAME|markerPos|markerType|markerShape|markerSize|markerDir|markerBrush|markerColor|markerAlpha|markerText\"\n```\n\nThe delimiter for BIS_fnc_stringToMarker is the first character of the string."}]}