BIS fnc mapSize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (description)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns map size. |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=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 19: Line 19:
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE1=
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> |EXAMPLE1=


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


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



Revision as of 21:07, 11 August 2019

{{Function|= Comments ____________________________________________________________________________________________

| arma3 |= Game name

|1.00|= Game version ____________________________________________________________________________________________

| 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=

|p1= terrainName: String - (Optional, default worldName) world name |PARAMETER1=

| Number |RETURNVALUE= ____________________________________________________________________________________________

|x1= "Altis" call BIS_fnc_mapSize; |EXAMPLE1=

|x2= worldName call BIS_fnc_mapSize; |EXAMPLE2=

|x3= call BIS_fnc_mapSize;

Notes

Bottom Section