BIS fnc markerToString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^= ]+) * +\|s2=" to " |r1=$1 |s2=") |
||
Line 13: | Line 13: | ||
|p1= markerName: [[String]] - existing marker | |p1= markerName: [[String]] - existing marker | ||
| [[String]] - serialized marker to be used with [[BIS_fnc_stringToMarker]] or [[BIS_fnc_stringToMarkerLocal]] | |r1= [[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]] |
Revision as of 00:20, 13 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- markerName call BIS_fnc_markerToString
- Parameters:
- markerName: String - existing marker
- Return Value:
- String - serialized marker to be used with BIS_fnc_stringToMarker or BIS_fnc_stringToMarkerLocal
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:
- BIS_fnc_stringToMarkerBIS_fnc_stringToMarkerLocalBIS_fnc_markerToTriggercreateMarkercreateMarkerLocal
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