camSetFovRange
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Set the zoom level (field of view) start and end values for automatical zooming. The default zoom level is 0.7, 0 is the nearest and 1 the most far zoom value.Needs the call of camCommit to be conducted.
Syntax
- Syntax:
- camera camSetFovRange [start,end]
- Parameters:
- camera: Object - object of type "camera"
- start/end: Integer - zoom level, range 0 to 1 (see description above)
- Return Value:
- Nothing
Examples
- Example 1:
_cam camSetFovRange [0.1,0.7]
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- camSetFov

