BIS fnc mapSize: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Map and Markers | ||
| | |descr= Returns map size from config. Do not confuse with [[worldSize]]. The engine command calculates the map size and doesn't read it from config. | ||
| | |s1= terrainName call [[BIS_fnc_mapSize]] | ||
| terrainName | |p1= terrainName: [[String]] - (Optional, default [[worldName]]) world name | ||
| | |r1= [[Number]] | ||
| | |x1= <sqf>"Altis" call BIS_fnc_mapSize;</sqf> | ||
| | |x2= <sqf>worldName call BIS_fnc_mapSize;</sqf> | ||
| | |x3= <sqf>call BIS_fnc_mapSize;</sqf> | ||
| | |seealso= [[BIS_fnc_mapGridSize]] [[worldSize]] [[worldName]] | ||
}} | }} | ||
Latest revision as of 13:24, 1 July 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:
- Example 2:
- Example 3:
- call BIS_fnc_mapSize;
Additional Information
- See also:
- BIS_fnc_mapGridSize worldSize worldName
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