User Tools

Site Tools


prpl:destroyparticle

<- 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 
 
prpl/destroyparticle.txt · Last modified: 2018/06/17 11:29 by kajacx