BIS fnc markerParams: 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 - "\| *tkoh * * *\| *([0-1]\.[0-9]{2}) * " to "|game1= tkoh |version1= $1 ") |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| tkoh | |game1= tkoh | ||
|1.00 | |version1= 1.00 | ||
|game2= arma3 | |game2= arma3 |
Revision as of 23:57, 13 June 2021
Description
- Description:
- Returns marker params in format compatible with BIS_fnc_markerCreate.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- varName call BIS_fnc_markerParams
- Parameters:
- varName: String - Variable name of the marker
- Return Value:
- Array - Marker parameters
Examples
- Example 1:
_params = "marker_1" call BIS_fnc_markerParams;
Additional Information
- See also:
- BIS_fnc_markerCreate
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 February 27, 2021 - 16:30 (UTC)
- 7erra
-
Extract all marker information from marker_1 to variables:
("marker_1" call BIS_fnc_markerParams) params ["_nameArray", "_position", "_size", "_colour", "_type", "_brush", "_shape", "_alpha", "_text"]; _position params ["_posX", "_posY"]; _nameArray params ["_marker"]; _size params ["_a", "_b"];