BIS fnc stringToMarkerLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "local" to "local")
Line 7: Line 7:
|eff= local
|eff= local


|descr= Converts serialized data from [[BIS_fnc_markerToString]] into a [[local]] map marker
|descr= Converts serialized data from [[BIS_fnc_markerToString]] into a [[Multiplayer Scripting#Locality|local]] map marker


|s1= data call [[BIS_fnc_stringToMarkerLocal]]
|s1= data call [[BIS_fnc_stringToMarkerLocal]]
Line 13: Line 13:
|p1= data: [[String]] - serialized data
|p1= data: [[String]] - serialized data


|r1=[[String]] - created [[local]] marker
|r1=[[String]] - created [[Multiplayer Scripting#Locality|local]] 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_stringToMarkerLocal]]</code>
|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_stringToMarkerLocal]]</code>

Revision as of 18:13, 21 June 2021

Hover & click on the images for description

Description

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

Syntax

Syntax:
data call BIS_fnc_stringToMarkerLocal
Parameters:
data: String - serialized data
Return Value:
String - created local 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_stringToMarkerLocal

Additional Information

See also:
BIS_fnc_markerToStringBIS_fnc_stringToMarkerBIS_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: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