BIS_fnc_mapGridSize

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.92
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.92

Description

Description:
Returns the size of map grid square at current zoom level.

This function caches config lookup result on the first use and for the duration of the mission, making subsequent access 2-3 times faster.

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

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_mapSize

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section