<- PRPL reference <- Particles

DestroyParticle

ArgumentsResultNotation
PID, mode [ i1 i2 - ]

Description

Destroys the particle with PID i1. If i2 is 0, the particle explodes in a small flash with a slight sound. If i2 is any other value, the particle is destroyed silently without any visual effects.

Examples

# Create a soft enemy particle at pixel coords (8,8) and then destroy it with effects.
CreateParticle(8 8 0 0 0 1) ->PID
<-PID 0 DestroyParticle
	i2 = GetIntFromStack(); //mode 
	i1 = GetIntFromStack(); //UID