BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| terrainName call [[BIS_fnc_mapSize]] |SYNTAX= | | terrainName call [[BIS_fnc_mapSize]] |SYNTAX= | ||
|p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name |= | |p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name |PARAMETER1= | ||
| [[Number]] |RETURNVALUE= | | [[Number]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |= | |x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE1= | ||
|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |= | |x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |EXAMPLE2= | ||
|x3= <code>[[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |= | |x3= <code>[[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |EXAMPLE3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:31, 7 April 2019
Description
- Description:
- Returns map size.
- Execution:
- call
- Groups:
- Uncategorised
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; // equivalent to worldSize
- Example 3:
call BIS_fnc_mapSize; // equivalent to worldSize
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