Garry's Mod Wiki

Garry's Mod Wiki

  NPC:SetFOV( number fov )

Recently Added

This was recently added in version (2024.12.03). It might only be available on the Dev Branch right now.

Description

Sets the Field Of View of the NPC, for use with such functions as NPC:IsInViewCone. it is also used internally by the NPC for enemy detection, etc.

Arguments

1 number fov
The new FOV for the NPC in degrees.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...