BIS_fnc_zoomOnArea

From Bohemia Interactive Community
Revision as of 11:57, 24 December 2018 by R3vo (talk | contribs) (Created page with "{{Function|= Comments | arma3 |Game name= |1.78|Game version= <!---|arg= local |Multiplayer Arguments=---> <!---|eff= local |Multiplayer Effects=---> | <pre>/* Author: Z...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Introduced with Arma 3 version 1.78
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.78

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.
*/
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki

Syntax

Syntax:
[] call BIS_fnc_zoomOnArea
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:
Example needed

Additional Information

Execution:
call
Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To