BIS_fnc_markerToString

From Bohemia Interactive Community
Revision as of 14:17, 3 May 2019 by 7erra (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.92
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.92

Description

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

Syntax:
markerName call BIS_fnc_markerToString
Parameters:
markerName: String - existing marker
Return Value:
String - serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal

Alternative Syntax

Syntax:
[markerName, delimiter] call BIS_fnc_markerToString
Parameters:
markerName: String - existing marker
delimiter (Optional): String - a single data delimiter character. Default: "|"
Return Value:
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

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_stringToMarkerBIS_fnc_stringToMarkerLocalBIS_fnc_markerToTriggercreateMarkercreateMarkerLocal

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Posted on May 3, 2019 - 12:17 (UTC)
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