BIS fnc stringToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:
|gr1 = Map and Markers |GROUP1=
|gr1 = Map and Markers |GROUP1=
|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 |Description=
____________________________________________________________________________________________


| data call [[BIS_fnc_stringToMarker]] |Syntax1=
| data call [[BIS_fnc_stringToMarker]] |Syntax1=
Line 18: Line 15:


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


|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> |Example1=
____________________________________________________________________________________________


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

Revision as of 23:54, 16 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