BIS fnc stringToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.92|Game version=
|1.92


|gr1 = Map and Markers |GROUP1=
|gr1 = Map and Markers
|eff= global |MP Effect=
|eff= global |MP Effect=


| Converts serialized data from [[BIS_fnc_markerToString]] into a global map marker |Description=
| Converts serialized data from [[BIS_fnc_markerToString]] into a global map marker


| data call [[BIS_fnc_stringToMarker]] |Syntax1=
| data call [[BIS_fnc_stringToMarker]] |Syntax1=


|p1= data: [[String]] - serialized data |Parameter1=
|p1= data: [[String]] - serialized data


| [[String]] - created global marker |Returnvalue1=
| [[String]] - created global marker


|x1= <code><nowiki>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"</nowiki> [[call]] [[BIS_fnc_stringToMarker]]</code> |Example1=
|x1= <code><nowiki>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"</nowiki> [[call]] [[BIS_fnc_stringToMarker]]</code>


| [[BIS_fnc_markerToString]], [[BIS_fnc_stringToMarkerLocal]], [[BIS_fnc_triggerToMarker]], [[createMarker]], [[createMarkerLocal]] |See also=
| [[BIS_fnc_markerToString]], [[BIS_fnc_stringToMarkerLocal]], [[BIS_fnc_triggerToMarker]], [[createMarker]], [[createMarkerLocal]]
}}
}}



Revision as of 23:47, 17 January 2021

Hover & click on the images for description

Description

Description:
Converts serialized data from BIS_fnc_markerToString into a global map marker
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
data call BIS_fnc_stringToMarker
Parameters:
data: String - serialized data
Return Value:
String - created global marker

Examples

Example 1:
"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here" call BIS_fnc_stringToMarker

Additional Information

See also:
BIS_fnc_markerToStringBIS_fnc_stringToMarkerLocalBIS_fnc_triggerToMarkercreateMarkercreateMarkerLocal

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on May 3, 2019 - 12:16 (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