Garry's Mod Wiki

Revision Difference

NEXTBOT:OnEntitySightLost#528106

<function name="OnEntitySightLost" parent="NEXTBOT" type="hook"> <ishook>yes</ishook> <description>Called when the nextbot NPC loses sight of another Nextbot NPC or a Player. <note>This hook will only run after <page>NextBot:SetFOV</page> or other vision related function is called on the nextbot. See <page>NextBot:IsAbleToSee</page> for more details.</note> </description> <realm>Server</realm> <predicted>No</predicted> <added>2020.08.12</added> <args> <arg name="ent" type="Entity">the entity that we lost sight of</arg> </args> </function>