BIS fnc markerParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \|p([0-9]{1,2})=([^ ]+) + \| *(\[\[Arr.+) * " to " |p$1=$2 |r1=$3 ")
Line 15: Line 15:
|p1= varName: [[String]] - Variable name of the marker
|p1= varName: [[String]] - Variable name of the marker


| [[Array]] - Marker parameters
|r1=[[Array]] - Marker parameters
*0: [[Array]] with [[String]] -  Variable name of the marker
*0: [[Array]] with [[String]] -  Variable name of the marker
*1: [[Array]] - Position of the marker
*1: [[Array]] - Position of the marker

Revision as of 04:46, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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"];