Arma 3 Scripting

Function in Map and Markers

BIS_fnc_markerToString

Also available as Markdown and JSON, or read the original wiki page.

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"

Syntax

[markerName, delimiter] call BIS_fnc_markerToString

Parameters:

Returns: String - serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal

Examples

Example 1

"marker1" call BIS_fnc_markerToString;

Example 2

["marker1", ":"] call BIS_fnc_markerToString;

See also

BIS_fnc_stringToMarker · BIS_fnc_stringToMarkerLocal · BIS_fnc_markerToTrigger · createMarker · createMarkerLocal

Community notes

7erra

The format is the following:

"|MARKERNAME|markerPos|markerType|markerShape|markerSize|markerDir|markerBrush|markerColor|markerAlpha|markerText" The delimiter for BIS_fnc_stringToMarker is the first character of the string.