BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
||
Line 8: | Line 8: | ||
|descr= Returns map size from config. Do not confuse with [[worldSize]]. The engine command calculates the map size and doesn't read it from config. | |descr= Returns map size from config. Do not confuse with [[worldSize]]. The engine command calculates the map size and doesn't read it from config. | ||
|s1= | |s1= terrainName call [[BIS_fnc_mapSize]] | ||
|p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name | |p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name |
Revision as of 15:32, 19 June 2021
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_mapGridSizeworldSizeworldName
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