BIS fnc stringToMarkerLocal: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.92 | |||
|gr1= Map and Markers | |||
|gr1 = Map and Markers | |||
|eff= local | |eff= local | ||
| 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 | ||
| data call [[BIS_fnc_stringToMarkerLocal]] | |s1= data call [[BIS_fnc_stringToMarkerLocal]] | ||
|p1= data: [[String]] - serialized data | |p1= data: [[String]] - serialized data | ||
| [[String]] - created [[local]] marker | |r1= [[String]] - created [[Multiplayer Scripting#Locality|local]] marker | ||
|x1= < | |x1= <sqf>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here" call BIS_fnc_stringToMarkerLocal;</sqf> | ||
|seealso= [[BIS_fnc_markerToString]] | |seealso= [[BIS_fnc_markerToString]] [[BIS_fnc_stringToMarker]] [[BIS_fnc_triggerToMarker]] [[createMarker]] [[createMarkerLocal]] | ||
}} | }} | ||
{{Note | |||
|user= 7erra | |||
|timestamp= 20190503121700 | |||
|text= The format is the following: | |||
<code style="display: block">"<nowiki>|</nowiki>MARKERNAME<nowiki>|</nowiki>[[markerPos]]<nowiki>|</nowiki>[[markerType]]<nowiki>|</nowiki>[[markerShape]]<nowiki>|</nowiki>[[markerSize]]<nowiki>|</nowiki>[[markerDir]]<nowiki>|</nowiki>[[markerBrush]]<nowiki>|</nowiki>[[markerColor]]<nowiki>|</nowiki>[[markerAlpha]]<nowiki>|</nowiki>[[markerText]]"</code> | |||
The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string. | |||
}} | |||
The format is the following: | |||
<code>"<nowiki>|</nowiki>MARKERNAME<nowiki>|</nowiki>[[markerPos]]<nowiki>|</nowiki>[[markerType]]<nowiki>|</nowiki>[[markerShape]]<nowiki>|</nowiki>[[markerSize]]<nowiki>|</nowiki>[[markerDir]]<nowiki>|</nowiki>[[markerBrush]]<nowiki>|</nowiki>[[markerColor]]<nowiki>|</nowiki>[[markerAlpha]]<nowiki>|</nowiki>[[markerText]]"</code> | |||
The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string | |||
Latest revision as of 11:53, 11 January 2023
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 or on the Forums.
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.