ParticleEffect
Description
Creates a particle effect. See also CreateParticleSystem.
The particle effect must be precached serverside with PrecacheParticleSystem and the file its from must be added via game.AddParticles before it can be used! This is due to the function using networked IDs for particle names, not directly networking particle system name.
Clientside, you can use CreateParticleSystemNoEntity (and similar) instead.
Arguments
3 Angle angles
The orientation of Control Point 0 for the particle system.
You must provide the entity argument for the angles to take effect.
Example
Example usage of the function. Precaches ExplosionCore_wall particle from particles/explosion.pcf, a Team Fortress 2 particle file.
You can then test the particle by using the particleitup console command.
You can find a list of particles inside a .pcf file using the Particle Editor Tool
Garry's Mod
Rust
Steamworks
Wiki Help