Garry's Mod Wiki

NEXTBOT:OnEntitySightLost

NEXTBOT:OnEntitySightLost( Entity ent )

Just Added

This was just added in the latest version (2020.08.12). It might only be available on the Dev Branch right now.

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.

Arguments

1 Entity ent
the entity that we lost sight of

Page Links


Special Pages


Wikis

?

Render Time: 63ms

DB GetPage 31
Generate Html 8
SaveChanges (1) 9
Render Body 0
Render Sidebar 12