BIS fnc markerParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *tkoh * *\| *1.([0-9]{2}) * +\|([^g]|g[^a])" to " | tkoh |1.$1 |game2= arma3 |version2= 0.50 |$2") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| tkoh | |game1= tkoh | ||
|1.00 | |version1= 1.00 | ||
|game2= arma3 | |game2= arma3 | ||
Line 9: | Line 9: | ||
|gr1= Map and Markers | |gr1= Map and Markers | ||
| Returns marker params in format compatible with [[BIS_fnc_markerCreate]]. | |descr= Returns marker params in format compatible with [[BIS_fnc_markerCreate]]. | ||
| varName call [[BIS_fnc_markerParams]] | |s1= varName call [[BIS_fnc_markerParams]] | ||
|p1= varName: [[String]] - | |p1= varName: [[String]] - variable name of the marker | ||
| [[Array]] - | |r1= [[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 [[Number]]s 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]]) | ||
|x1= < | |x1= <sqf>private _params = "marker_1" call BIS_fnc_markerParams;</sqf> | ||
|x2= <sqf> | |||
("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"]; | |||
</sqf> | |||
|seealso= [[BIS_fnc_markerCreate]] | |seealso= [[BIS_fnc_markerCreate]] | ||
}} | }} | ||
Latest revision as of 01:53, 4 April 2024
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 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:
- Example 2:
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