Garry's Mod Wiki

NextBot:IsAbleToSee

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

Page Links


Special Pages


Wikis

?

Render Time: 83ms

DB GetPage 48
Generate Html 11
SaveChanges (1) 9
Render Body 0
Render Sidebar 12