Player/SetFOV

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Second arg now optional)
Line 3: Line 3:
 
|Parent=Player
 
|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
Line 15: Line 17:
 
|name=time
 
|name=time
 
|desc=the time it takes to transition to the FOV expressed in a floating point.
 
|desc=the time it takes to transition to the FOV expressed in a floating point.
 +
|default=0
 
}}
 
}}

Revision as of 18:16, 24 October 2019

 Player:SetFOV( )

Description

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


Next Update Change

The second argument is optional.

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