BIS fnc markerToString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *Syntax[0-9]* *= * " to " ") |
||
Line 9: | Line 9: | ||
| Converts existing marker to [[String]], for example: <tt><nowiki>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"</nowiki></tt> | | Converts existing marker to [[String]], for example: <tt><nowiki>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"</nowiki></tt> | ||
| markerName call [[BIS_fnc_markerToString]] | | markerName call [[BIS_fnc_markerToString]] | ||
|p1= markerName: [[String]] - existing marker | |p1= markerName: [[String]] - existing marker | ||
Line 15: | Line 15: | ||
| [[String]] - serialized marker to be used with [[BIS_fnc_stringToMarker]] or [[BIS_fnc_stringToMarkerLocal]] | | [[String]] - serialized marker to be used with [[BIS_fnc_stringToMarker]] or [[BIS_fnc_stringToMarkerLocal]] | ||
|s2= [markerName, delimiter] call [[BIS_fnc_markerToString]] | |s2= [markerName, delimiter] call [[BIS_fnc_markerToString]] | ||
|p21= markerName: [[String]] - existing marker |Parameter21= | |p21= markerName: [[String]] - existing marker |Parameter21= |
Revision as of 18:59, 29 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- markerName: String - existing marker
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- [markerName, delimiter] call BIS_fnc_markerToString
- Parameters:
- markerName: String - existing marker
- delimiter (Optional): String - a single data delimiter character. Default: "|"
- Return Value:
- String - serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal
Examples
- Example 1:
"marker1" call BIS_fnc_markerToString
- Example 2:
["marker1", ":"] call BIS_fnc_markerToString
Additional Information
- See also:
- See also needed
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:17 (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