BIS fnc mapGridSize: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] call ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Map and Markers | |gr1= Map and Markers | ||
| Returns the size of map grid square at current zoom level.{{Feature | 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.}} | |descr= Returns the size of map grid square at current zoom level.{{Feature | 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.}} | ||
|s1=[map] call [[BIS_fnc_mapGridSize]] | |s1=[map] call [[BIS_fnc_mapGridSize]] |
Revision as of 20:47, 13 June 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