getObjectFOV: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) (doesn't change if custom FOV is used) |
||
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 the 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.<br><br> | ||
{{Informative | The FOV returned by this command doesn't change if user has custom FOV set in profile. Use it in combination with [[getResolution]] to adjust for the difference if required.}} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 00:00, 3 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