BIS fnc markerToString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.92 | |||
|1.92 | |||
|gr1= Map and Markers | |gr1= Map and Markers |
Revision as of 22:48, 13 June 2021
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 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