BIS fnc stringToMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 5: | Line 5: | ||
|gr1= Map and Markers | |gr1= Map and Markers | ||
|eff= global | |eff= global | ||
Line 15: | Line 16: | ||
|r1= [[String]] - created global marker | |r1= [[String]] - created global marker | ||
|x1= < | |x1= <sqf>"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here" call BIS_fnc_stringToMarker;</sqf> | ||
|seealso= [[BIS_fnc_markerToString]], [[BIS_fnc_stringToMarkerLocal]], [[BIS_fnc_triggerToMarker]], [[createMarker]], [[createMarkerLocal]] | |seealso= [[BIS_fnc_markerToString]], [[BIS_fnc_stringToMarkerLocal]], [[BIS_fnc_triggerToMarker]], [[createMarker]], [[createMarkerLocal]] | ||
}} | }} | ||
{{Note | |||
|user= 7erra | |||
|timestamp= 20190503121600 | |||
|text= The format is the following: | |||
The format is the following: | |||
<code>"<nowiki>|</nowiki>MARKERNAME<nowiki>|</nowiki>[[markerPos]]<nowiki>|</nowiki>[[markerType]]<nowiki>|</nowiki>[[markerShape]]<nowiki>|</nowiki>[[markerSize]]<nowiki>|</nowiki>[[markerDir]]<nowiki>|</nowiki>[[markerBrush]]<nowiki>|</nowiki>[[markerColor]]<nowiki>|</nowiki>[[markerAlpha]]<nowiki>|</nowiki>[[markerText]]"</code> | <code>"<nowiki>|</nowiki>MARKERNAME<nowiki>|</nowiki>[[markerPos]]<nowiki>|</nowiki>[[markerType]]<nowiki>|</nowiki>[[markerShape]]<nowiki>|</nowiki>[[markerSize]]<nowiki>|</nowiki>[[markerDir]]<nowiki>|</nowiki>[[markerBrush]]<nowiki>|</nowiki>[[markerColor]]<nowiki>|</nowiki>[[markerAlpha]]<nowiki>|</nowiki>[[markerText]]"</code> | ||
The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string | The delimiter for [[BIS_fnc_stringToMarker]] is the first character of the string. | ||
}} | |||
Revision as of 19:36, 3 May 2022
Description
- Description:
- Converts serialized data from BIS_fnc_markerToString into a global map marker
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- data call BIS_fnc_stringToMarker
- Parameters:
- data: String - serialized data
- Return Value:
- String - created global marker
Examples
- Example 1:
- "|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here" call BIS_fnc_stringToMarker;
Additional Information
- See also:
- BIS_fnc_markerToStringBIS_fnc_stringToMarkerLocalBIS_fnc_triggerToMarkercreateMarkercreateMarkerLocal
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 03, 2019 - 12:16 (UTC)
-
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.