GetPlayerCamFOV

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns a float of the player's camera FOV. If worldOr1stOrScene is set to 0, will return the World FOV (3rd person FOV). If it is 1, will return the first-person FOV. If it is 2, will return the FOV according to the current Scene being displayed by the SceneGraph.

Syntax

[help]
(fov:float) GetPlayerCamFOV worldOr1stOrScene:int{0}

Example

GetPlayerCamFOV 1

Returns the player's first-person FOV.