Since engine version: 5.3.3 OC
Creates a colored version of another particle definition.
proplist Particles_Colored(proplist prototype, int color1, int color2);
- Particle prototype of which a colored version is returned.
- RGB color in format 0xRRGGBB
- [opt] Secondary color. If given, particles are created with a random color between color and color2.
See the particle documentation for further explanations of the particle system.
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 also: CreateParticle