BIS fnc markerParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
Line 13: Line 13:
|s1= varName call [[BIS_fnc_markerParams]]
|s1= varName call [[BIS_fnc_markerParams]]


|p1= varName: [[String]] - Variable name of the marker
|p1= varName: [[String]] - variable name of the marker


|r1= [[Array]] - marker parameters
|r1= [[Array]] - marker parameters

Revision as of 16:53, 8 November 2023

Hover & click on the images for description

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:
private _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 2021-02-27 - 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"];