BIS fnc mapGridSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Function|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.92|= Game version ________________...")
 
mNo edit summary
Line 35: Line 35:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Map|{{uc:mapSize}}]]
[[Category:Function Group: Map|{{uc:mapGridSize}}]]
[[Category:Functions|{{uc:mapSize}}]]
[[Category:Functions|{{uc:mapGridSize}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:mapSize}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:mapGridSize}}]]

Revision as of 22:57, 20 January 2019

Hover & click on the images for description

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.
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

Notes

Bottom Section