{"name":"BIS_fnc_markerToString","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.92"}],"since":{"game":"arma3","name":"Arma 3","version":"1.92"},"arma3_since":"1.92","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"markerName","type":"String","optional":false,"default":null,"description":"existing marker","types":["String"],"since":null,"text":"markerName: String - existing marker"},{"name":"delimiter","type":"String","optional":true,"default":"`|`","description":"a single data delimiter character","types":["String"],"since":null,"text":"delimiter: String - (Optional, default `|`) a single data delimiter character"}],"returns":{"type":"String","types":["String"],"description":"serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal","text":"String - serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal"}}],"examples":[{"text":"```sqf\n\"marker1\" call BIS_fnc_markerToString;\n```","code":["\"marker1\" call BIS_fnc_markerToString;"]},{"text":"```sqf\n[\"marker1\", \":\"] call BIS_fnc_markerToString;\n```","code":["[\"marker1\", \":\"] call BIS_fnc_markerToString;"]}],"multiplayer":null,"problems":null,"aliases":[],"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`\"|MARKERNAME|markerPos|markerType|markerShape|markerSize|markerDir|markerBrush|markerColor|markerAlpha|markerText\"`\nThe delimiter for BIS_fnc_stringToMarker is the first character of the string."}],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Map and Markers","Functions","Introduced with Arma 3 version 1.92"],"docblock":null,"filled_from_docblock":[]}