Garry's Mod Wiki

Revision Difference

ENTITY:RunAI#565184

<function name="RunAI" parent="ENTITY" type="hook"> <description>Called from the engine every 0.1 seconds. Returning `true` inside this hook will allow `CAI_BaseNPC::MaintainSchedule` to also be called. <note>This hook only exists for `ai` type [SENTs](Scripted_Entities).</note> </description> <realm>Server</realm> <file line="5">gamemodes/base/entities/entities/base_ai/schedules.lua</file>⤶ </function>