User Tools

Site Tools


prpl:destroyparticle

This is an old revision of the document!


<- PRPL reference <- Everything Else 2

DESTROYPARTICLE

ArgumentsResultNotation
PID, mode none [ 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.1509159840.txt.gz · Last modified: 2017/10/27 23:04 by GameGibu