getCameraFieldOfView
Client-side
Server-side
Shared
Pair: setCameraFieldOfView
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
This function returns the field of view of the dynamic camera as set by setCameraFieldOfView.
Syntax
getCameraFieldOfView ( )Code Examples
client
In this example, the field of view is output to the chat whenever the /getfov command is written
function getCamFOV() outputChatBox("The camera field of view for 'player walking/running' is: " .. getCameraFieldOfView("player"))endaddCommandHandler("getfov", getCamFOV)