BIS fnc mapSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (description)
m (removed comments from examples)
Line 21: Line 21:
|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE2=
|x2= <code>[[worldName]] [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE2=


|x3= <code>[[call]] [[BIS_fnc_mapSize]]; {{codecomment|</code> |EXAMPLE3=
|x3= <code>[[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE3=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:07, 11 August 2019

Hover & click on the images for description

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:
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;
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

Notes

Bottom Section