BIS fnc stringToMarkerLocal: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
| Line 7: | Line 7: | ||
|eff= local | |eff= local | ||
|descr= Converts serialized data from [[BIS_fnc_markerToString]] into a [[Multiplayer Scripting#Locality|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 24: | Line 24: | ||
|timestamp= 20190503121700 | |timestamp= 20190503121700 | ||
|text= The format is the following: | |text= The format is the following: | ||
<code style="display: block">" | <code style="display: block">"{{!}}MARKERNAME{{!}}[[markerPos]]{{!}}[[markerType]]{{!}}[[markerShape]]{{!}}[[markerSize]]{{!}}[[markerDir]]{{!}}[[markerBrush]]{{!}}[[markerColor]]{{!}}[[markerAlpha]]{{!}}[[markerText]]"</code> | ||
The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string. | The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string. | ||
}} | }} | ||
Latest revision as of 19:30, 26 March 2026
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_markerToString BIS_fnc_stringToMarker BIS_fnc_triggerToMarker createMarker createMarkerLocal
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note
- Posted on May 03, 2019 - 12:17 (UTC)
-
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.