BIS fnc zoomOnArea: Difference between revisions
| m (infobox to template) | Lou Montana (talk | contribs)  m (Text replacement - "{{Function|= Comments " to "{{Function|Comments= ") | ||
| Line 1: | Line 1: | ||
| {{Function|=  | {{Function|Comments= | ||
| | arma3 |Game name= | | arma3 |Game name= | ||
Revision as of 21:59, 26 June 2020
Description
- Description:
- /* Author: ZoZo Description: Map will zoom on the given area. Function always takes the longer side of the area to zoom on. Parameters: Select 0 - ARRAY: Area to zoom on Select 1 - ARRAY: Coordinates of the center Select 2 - (OPTIONAL) - NUMBER: time of the zoom operation. Default is 1 Select 3 - (OPTIONAL) - CONTROL: handler to the map display control (you can pass one if already exists, if not, handler is created) Select 4 - (OPTIONAL) - BOOL: whether we have to force the camera in position after the zoom. Returns: Amount of zoom (can be used for the check if the zoom operation is already done) Examples: _xHandle = [markerSize "BIS_areaMarker", markerPos "BIS_areaMarker", 5] call BIS_fnc_zoomOnArea //zoom on the area given by the marker in 5 seconds. _xHandle = [markerSize "BIS_areaMarker", markerPos "BIS_areaMarker"] call BIS_fnc_zoomOnArea //zoom on the area given by the marker in default 1 second. BIS_mapDisplay = (findDisplay 12 displayCtrl 51); ... ; _xHandle = [markerSize "BIS_areaMarker", markerPos "BIS_areaMarker", 2, BIS_mapDisplay] call BIS_fnc_zoomOnArea //zoom on the area given by the marker in default 2 seconds. */ Template:placeholder
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [] call BIS_fnc_zoomOnArea
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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
 
	