— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Disables particle emission for the specified effect.
disable_effect(effect)
disable_effect(entity["torch"].effect["flame"]);
Results: The effect attached to the “flame” attach point of the entity with ID “torch” will be disabled, triggering its particles to stop emitting.
Use the Disable Effect function to extinguish a torch's flame or to remove sparks from a machine that was fixed when the player interacts with the respective object.