Garry's Mod Wiki


NEXTBOT:OnEntitySight( Entity ent )


Called when the nextbot NPC sees another Nextbot NPC or a Player.

This hook will only run after NextBot:SetFOV or other vision related function is called on the nextbot. See NextBot:IsAbleToSee for more details.
This hook is not called in some scenarios.

Issue Tracker: 4734


1 Entity ent
the entity that was seen

Page Links

Special Pages



Render Time: 69ms

DB GetPage 45
Generate Html 2
SaveChanges (1) 13
Render Body 0
Render Sidebar 6