BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] \[\[([a-zA-Z0-9_]+)\]\] \[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
||
Line 16: | Line 16: | ||
|x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> | |x1= <code>"Altis" [[call]] [[BIS_fnc_mapSize]];</code> | ||
|x2= < | |x2= <sqf>worldName call BIS_fnc_mapSize;</sqf> | ||
|x3= <sqf>call BIS_fnc_mapSize;</sqf> | |x3= <sqf>call BIS_fnc_mapSize;</sqf> |
Revision as of 15:43, 10 May 2022
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:
- Map and Markers
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:
- 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