BIS fnc stringToMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
[[Category:Function Group: Map|{{uc:stringToMarker}}]]
[[Category:Function Group: Map|{{uc:stringToMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:stringToMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:stringToMarker}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<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 -->

Revision as of 14:16, 3 May 2019

Hover & click on the images for description

Description

Description:
Converts serialized data from BIS_fnc_markerToString into a global map marker
Execution:
call
Groups:
Uncategorised

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