Particles_Colored
Particles
5.3.3 OC
proplist
proplist
prototype
Particle prototype of which a colored version is returned.
int
color1
RGB color in format 0xRRGGBB
int
color2
Secondary color. If given, particles are created with a random color between color and color2.
Creates a colored version of another particle definition.
CreateParticle("MagicSpark", 0,0, PV_Random(-10,10), PV_Random(-10,10), PV_Random(10,50), Particles_Colored(Particles_Spark(),0xff0000,0x00ff00), 15);
Creates 15 particles with coloration varying between red and green.
See the particle documentation for further explanations of the particle system.
CreateParticle
Sven22013-12