BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) (Fix examples, template and see also) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 8: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns map size|= Description | | Returns map size. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|p1= | |||
| terrainName call [[BIS_fnc_mapSize]] |= Syntax | |||
| | |||
|p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name |= Parameter 1 | |||
| [[Number]] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>"Altis" call BIS_fnc_mapSize// | |x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |= Example 1 | ||
|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |= Example 2 | |||
|x3= <code>[[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |= Example 3 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|[[worldSize]] |= See also | | [[worldSize]], [[worldName]] |= See also | ||
}} | }} | ||
Line 30: | Line 35: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Function Group: Map|{{uc: | [[Category:Function Group: Map|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Functions|{{uc: | [[Category:Functions|{{uc:{{PAGENAME}}}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc: | [[Category:{{Name|arma3}}: Functions|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 08:42, 21 April 2018
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
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