BIS fnc mapSize: Difference between revisions

From Bohemia Interactive Community
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 |= Parameter 1
|p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name |PARAMETER1=


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |= Example 1
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE1=


|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |= Example 2
|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |EXAMPLE2=


|x3= <code>[[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |= Example 3
|x3= <code>[[call]] [[BIS_fnc_mapSize]]; {{codecomment|// equivalent to [[worldSize]]}}</code> |EXAMPLE3=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:31, 7 April 2019

Hover & click on the images for description

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

Notes

Bottom Section