Garry's Mod Wiki

Garry's Mod Wiki

  NPC:SetMaxLookDistance( number dist )

Description

Sets NPC's max view distance. An NPC will not be able to see enemies outside of this distance.

Arguments

1 number dist
New maximum distance the NPC can see at. Default is 2048 and 6000 for long range NPCs such as the sniper.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...