BIS fnc markerToString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
Line 27: | Line 27: | ||
|timestamp= 20190503121700 | |timestamp= 20190503121700 | ||
|text= The format is the following: <br> | |text= 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> | <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 delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string. | ||
}} | }} |
Latest revision as of 11:52, 11 January 2023
Description
- Description:
- Converts existing marker to String, for example: "|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [markerName, delimiter] call BIS_fnc_markerToString
- Parameters:
- markerName: String - existing marker
- delimiter: String - (Optional, default |) a single data delimiter character
- Return Value:
- String - serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- BIS_fnc_stringToMarker BIS_fnc_stringToMarkerLocal BIS_fnc_markerToTrigger 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.