BIS fnc markerToString: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - " *\|Parameter[0-9]{1,}= * " to " ")
Line 17: Line 17:
|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


|p22= delimiter (Optional): [[String]] - a single data delimiter character. Default: "<nowiki>|</nowiki>" |Parameter22=
|p22= delimiter (Optional): [[String]] - a single data delimiter character. Default: "<nowiki>|</nowiki>"


| r2= [[String]] - serialized marker to be used with [[BIS_fnc_stringToMarker]] or [[BIS_fnc_stringToMarkerLocal]]
| r2= [[String]] - serialized marker to be used with [[BIS_fnc_stringToMarker]] or [[BIS_fnc_stringToMarkerLocal]]

Revision as of 16:21, 7 February 2021

Hover & click on the images for description

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