Garry's Mod Wiki

Revision Difference

ENTITY_Hooks#519024

<cat>Ref.Hook</cat> A list of hooks **only** available for <page>Scripted Entities</page>. The only exceptions to this rule are <page>ENTITY:RenderOverride</page> and <page>ENTITY:CalcAbsolutePosition</page>, which can also be applied to engine entities. Some more "hooks" are available for all entities (including engine entities) with the function <page>Entity:AddCallback</page>. See also: <page>ENT</page>⤶ See also: <page>Structures/ENT</page>⤶ <note>The hooks listed here are also dependent on the scripted entity type. For instance, a base scripted entity will not use <page>ENTITY:DoSchedule</page> at all, that is only for scripted NPCs</note>