BIS_fnc_markerParams
- Arma 3 v0.50
- First in Take On Helicopters v1.00
Function · Markdown · JSON · original wiki page
Description
Returns marker params in format compatible with BIS_fnc_markerCreate.
Syntax
varName call BIS_fnc_markerParams
Parameters:
varName: String - variable name of the marker
Returns: Array - marker parameters in format [varName, pos, size, colour, type, brush, shape, alpha, name] where:
- varName: Array with String - variable name
- pos: Array format Position - position (see setMarkerPos)
- size: Array of Numbers in format [x, y] (see setMarkerSize)
- colour: String - colour (see setMarkerColor)
- type: String - type (see setMarkerType)
- brush: String - brush (see setMarkerBrush)
- shape: String - shape (see setMarkerShape)
- alpha: Number - transparency (see setMarkerAlpha)
- text: String - text (see setMarkerText)
Examples
Example 1
private _params = "marker_1" call BIS_fnc_markerParams;
Example 2
("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"];