BIS fnc markerToString: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=") |
||
Line 21: | Line 21: | ||
|p22= delimiter (Optional): [[String]] - a single data delimiter character. Default: "<nowiki>|</nowiki>" | |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]] | ||
|x1= <code>"marker1" [[call]] [[BIS_fnc_markerToString]]</code> | |x1= <code>"marker1" [[call]] [[BIS_fnc_markerToString]]</code> |
Revision as of 23:39, 10 June 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:
- 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