BIS fnc mapGridSize: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Map and Markers |GROUP1= | |gr1 = Map and Markers |GROUP1= | ||
| Returns the size of map grid square at current zoom level.<br><br> | | Returns the size of map grid square at current zoom level.<br><br> | ||
{{Informative | This function caches config lookup result on the first use and for the duration of the mission, making subsequent access 2-3 times faster.}} |DESCRIPTION= | {{Informative | This function caches config lookup result on the first use and for the duration of the mission, making subsequent access 2-3 times faster.}} |DESCRIPTION= | ||
| [map] call [[BIS_fnc_mapGridSize]] |SYNTAX= | | [map] call [[BIS_fnc_mapGridSize]] |SYNTAX= | ||
Line 19: | Line 16: | ||
| [[Number]] - map grid size |RETURNVALUE= | | [[Number]] - map grid size |RETURNVALUE= | ||
|x1= <code>_gridSize = [] [[call]] [[BIS_fnc_mapGridSize]];</code> |EXAMPLE1= | |x1= <code>_gridSize = [] [[call]] [[BIS_fnc_mapGridSize]];</code> |EXAMPLE1= | ||
| [[BIS_fnc_mapSize]] |SEEALSO= | | [[BIS_fnc_mapSize]] |SEEALSO= |
Revision as of 23:30, 16 January 2021
Description
- Description:
- Returns the size of map grid square at current zoom level.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- [map] call BIS_fnc_mapGridSize
- Parameters:
- [map]: Array
- map (Optional): Control - map control. Default: main mission map (findDisplay 12 displayCtrl 51)
- Return Value:
- Number - map grid size
Examples
- Example 1:
_gridSize = [] call BIS_fnc_mapGridSize;
Additional Information
- See also:
- BIS_fnc_mapSize
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