BIS_fnc_mapSize

From Bohemia Interactive Community
Revision as of 14:24, 1 July 2022 by Lou Montana (talk | contribs) (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Returns map size from config. Do not confuse with worldSize. The engine command calculates the map size and doesn't read it from config.
Execution:
call
Groups:
Map and Markers

Syntax

Syntax:
terrainName call BIS_fnc_mapSize
Parameters:
terrainName: String - (Optional, default worldName) world name
Return Value:
Number

Examples

Example 1:
"Altis" call BIS_fnc_mapSize;
Example 2:
worldName call BIS_fnc_mapSize;
Example 3:
call BIS_fnc_mapSize;

Additional Information

See also:
BIS_fnc_mapGridSize worldSize worldName

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