Player/SetFOV

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(A note about fov set to 0)
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.
|Realm=Server
+
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
 
}}
 
}}
Line 14: Line 14:
 
|type=number
 
|type=number
 
|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.
 
}}
 
}}

Revision as of 21:19, 11 March 2015

 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

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