BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Map and Markers |GROUP1= | |gr1 = Map and Markers |GROUP1= | ||
| Returns map size from config. Do not confuse with [[worldSize]]. The engine command calculates the map size and doesn't read it from config. |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. |DESCRIPTION= | ||
| terrainName call [[BIS_fnc_mapSize]] |SYNTAX= | | terrainName call [[BIS_fnc_mapSize]] |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Number]] |RETURNVALUE= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE1= | |x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE1= | ||
Line 24: | Line 20: | ||
|x3= <code>[[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE3= | |x3= <code>[[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE3= | ||
| [[BIS_fnc_mapGridSize]], [[worldSize]], [[worldName]] |SEEALSO= | | [[BIS_fnc_mapGridSize]], [[worldSize]], [[worldName]] |SEEALSO= |
Revision as of 23:23, 16 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