ENTITY:RunAI
Description
Called from the engine every m_flNextDecisionTime in seconds. This interval changes depending on NPC's Efficiency. Returning true inside this hook will allow CAI_BaseNPC::MaintainSchedule to also be called.
This hook only exists for
ai type SENTs.
Garry's Mod
Rust
Steamworks
Wiki Help