Player/SetFOV

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Second arg now optional)
 
Line 1: Line 1:
 
{{Func
 
{{Func
|Name=SetFOV
 
|Parent=Player
 
 
|Description=Set a player's FOV (Field Of View) over a certain amount of time.
 
|Description=Set a player's FOV (Field Of View) over a certain amount of time.
 
{{NextUpdate|The second argument is optional.}}
 
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes

Latest revision as of 16:55, 12 November 2019

 Player:SetFOV( )

Description

Set a player's FOV (Field Of View) over a certain amount of time.

Arguments

number fov

the angle of perception (FOV). Set to 0 to return to default user FOV. ( Which is ranging from 75 to 90, depending on user settings )

Arguments

number time=0

the time it takes to transition to the FOV expressed in a floating point.
Personal tools
Navigation