Garry's Mod Wiki

NEXTBOT:OnEntitySightLost

NEXTBOT:OnEntitySightLost

NEXTBOT:OnEntitySightLost( Entity ent )

Description

Called when the nextbot NPC loses sight of 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

Arguments

1 Entity ent
the entity that we lost sight of

Special Pages


Wikis

?

Render Time: 58ms

DB GetPage 40
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6