GSC reference › Built-in
SetFOVForKillcam()
Built-in (engine)
Server
Called on: entity
Sets the fov for use with this killcam entity. Setting it to zero makes it use the default fov.
Signature
<entity> SetFOVForKillcam(<fov>)
Called on an entity: entity SetFOVForKillcam(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| fov | Required | The fov you want to use for the killcam |
Example (from Treyarch's docs)
killCamEnt SetFOVForKillcam( 25 )
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- AnglesToForward()Returns the forward vector corresponding to a set of angles.
- GetMinBitCountForNum()Returns the minimum number of bits needed to express the provided integer
- ForceTeleport()Force Teleport the actor to a new position with the given origin and angles, regardless of wether it will be visible to the player or not.
- ForceStreamXModel()Forces the streamer to load model and texture LODs for a model even if it isn't yet visible.
- TableLookupColumnForRow()Look up a particular row and column in a table
- GetUIModelForController()Returns the UIModel from the controller root.
- SetHintStringForPlayer()Sets the trigger hint string for one specific player
- ClearForcedGoal()Clears the forcedGoal for this AI's goal.
- ForceStreamBundle()Force the assets in a script bundle to stream in
- GetWeaponForwardDir()Returns the weapon's forward direction
- SetTeamForTrigger()Set the team that this trigger will react to
- SetForceNoCull()Sets the force-no-cull flag.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).