BIS fnc mapGridSize: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
| 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.}} |= | {{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]] |= | | [map] call [[BIS_fnc_mapGridSize]] |SYNTAX= | ||
| p1= [map]: [[Array]]|= Parameter 1 | | p1= [map]: [[Array]]|= Parameter 1 | ||
| p2= map (Optional): [[Control]] - map control. Default: main mission map ([[findDisplay]] 12 [[displayCtrl]] 51) |= Parameter 3 | | p2= map (Optional): [[Control]] - map control. Default: main mission map ([[findDisplay]] 12 [[displayCtrl]] 51) |= Parameter 3 | ||
| [[Number]] - map grid size |= | | [[Number]] - map grid size |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[BIS_fnc_mapSize]] |= | | [[BIS_fnc_mapSize]] |SEEALSO= | ||
}} | }} | ||
Revision as of 11:29, 7 April 2019
Description
- Description:
- Returns the size of map grid square at current zoom level.
- Execution:
- call
- Groups:
- Uncategorised
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