Garry's Mod Wiki

Garry's Mod Wiki

  boolean NextBot:IsAbleToSee( Entity ent, number useFOV = true )

Description

Returns if the Nextbot NPC can see the give entity or not.

Using this function creates the nextbot vision interface which will cause a significant performance hit!

Arguments

1 Entity ent
The entity to test if we can see
2 number useFOV = true
Whether to use the Field of View of the Nextbot

Returns

1 boolean
If the nextbot can see or not

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...