BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Map and Markers | |gr1 = Map and Markers | ||
| Returns map size from config. Do not confuse with [[worldSize]]. The engine command calculates the map size and doesn't read it from config. | | Returns map size from config. Do not confuse with [[worldSize]]. The engine command calculates the map size and doesn't read it from config. | ||
| terrainName call [[BIS_fnc_mapSize]] | | terrainName call [[BIS_fnc_mapSize]] | ||
|p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name | |p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> | |x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> | ||
|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]];</code> | |x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]];</code> | ||
|x3= <code>[[call]] [[BIS_fnc_mapSize]];</code> | |x3= <code>[[call]] [[BIS_fnc_mapSize]];</code> | ||
| [[BIS_fnc_mapGridSize]], [[worldSize]], [[worldName]] | | [[BIS_fnc_mapGridSize]], [[worldSize]], [[worldName]] | ||
}} | }} | ||
Revision as of 23:08, 17 January 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