Garry's Mod Wiki

NextBot:IsAbleToSee

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

Special Pages


Wikis

?

Render Time: 49ms

DB GetPage 30
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7