BIS fnc stringToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Map and Markers |GROUP1=")
m (Text replacement - "<code>" to "<code style="display: block">")
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.92


|1.92|Game version=
|gr1= Map and Markers


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


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


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


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


| [[String]] - created global marker |Returnvalue1=
|r1= [[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= <sqf>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here" call BIS_fnc_stringToMarker;</sqf>
____________________________________________________________________________________________


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


[[Category:Functions|{{uc:stringToMarker}}]]
{{Note
[[Category:Function Group: Map|{{uc:stringToMarker}}]]
|user= 7erra
[[Category:{{Name|arma3}}: Functions|{{uc:stringToMarker}}]]
|timestamp= 20190503121600
 
|text= The format is the following:
<!-- CONTINUE Notes -->
<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>
<dl class="command_description">
The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string.
<dd class="notedate">Posted on May 3, 2019 - 12:16 (UTC)</dd>
}}
<dt class="note">[[User:7erra|7erra]]</dt>
<dd class="note">
The format is the following: <br>
<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
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 11:52, 11 January 2023

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_markerToString BIS_fnc_stringToMarkerLocal 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
7erra - c
Posted on May 03, 2019 - 12:16 (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.