These hooks are used inside of a Lua effect. Lua effects are stored in either the <kbd>/lua/effects</kbd> directory or in a gamemode in <kbd>/gamemodes/<gamemodename>/entities/effects</kbd>.
Effects are entities with the class CLuaEffect, and as such, Entity functions are usable on them (using the <kbd>self</kbd> argument).
An EFFECT is made using either a combination of the EFFECT:Init, EFFECT:Render and optionally the EFFECT:Think hook. Another way is to create all particles in one go in the
Init hook and don't use the other hooks at all.
Creates a particle effect using a combination of the Init and the Think hooks.
Creates a particle effect using only the Init hook. To use this effect in a loop one needs to create a new instance of this effect every drawn frame.