getObjectFOV: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev|= Game name |1.95|= Game version ______________...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns Field of View of the given object in [[rad]]ians. Static objects return default value, which is 1. FOV of [[objNull]] is 0. Object FOV is indirectly connected with optics magnification or player view zoom, the narrower the angle the greater zoom. |DESCRIPTION= | | Returns Field of View of the given object in [[rad]]ians. Static objects return default value, which is 1. FOV of [[objNull]] is 0. Object FOV is indirectly connected with optics magnification or player view zoom, the narrower the angle the greater the zoom. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:43, 2 August 2019
Description
- Description:
- Returns Field of View of the given object in radians. Static objects return default value, which is 1. FOV of objNull is 0. Object FOV is indirectly connected with optics magnification or player view zoom, the narrower the angle the greater the zoom.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_objFOV = getObjectFOV player;
- Example 2:
_objFOVinDegrees = deg getObjectFOV cursorObject;
- Example 3:
_objType = getObjectFOV vehicle player;
Additional Information
- See also:
- getObjectTypegetResolution
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
[[Category:Introduced with arma3dev version 1.95]][[ Category: arma3dev: New Scripting Commands | GETOBJECTFOV]][[ Category: arma3dev: Scripting Commands | GETOBJECTFOV]]
Notes
Bottom Section