CNewParticleEffect/StopEmissionAndDestroyImmediately

From Garry's Mod
Jump to: navigation, search
 CNewParticleEffect:StopEmissionAndDestroyImmediately( )

Description

Stops particle emission and destroys all particles instantly. Also detaches the particle effect from the entity it was attached to.

NOTE This function will work identically to CNewParticleEffect:StopEmission( false, true ) if CNewParticleEffect:GetOwner entity is not valid.

Consider using CNewParticleEffect:StopEmission( false, true ) instead, which has same effect, but doesn't require owner entity, and does't detach the particle system from its entity.

Personal tools
Navigation