# DrawParticleLine

Particle
5.1 OC
int
string particle Type of particle to be created.
int x0 X coordinate of the starting point. Offset in local calls.
int y0 Y coordinate of the starting point. Offset in local calls.
int x1 X coordinate of the end point. Offset in local calls.
int y1 Y coordinate of the end point. Offset in local calls.
int prtdist Distance between particles. This may not be applied exactly as particles are always spread evenly over the total distance.
int a Extra parameter. This is usually the size of the particle in 1/5 pixels.
int b0 Extra starting parameter. This is usually the color modulation at the starting point.
int b1 Extra end parameter. This parameter is interpolated from starting to end point and then applied.
int ydir Initial vertical velocity.
Creates a line of particles between two points. Returns the number of particles created.
DrawParticleLine("MagicSpark", 0, 0, GetX(GetCursor())-GetX(), GetY(GetCursor())-GetY(), 20, 100, RGBa(255,50,50,50), RGBa(50,255,50,100), -10);
Creates a line from the calling object to the selected clonk of the first player, color fading from red to blue.
CreateParticle
CastParticles
RGB
RGBa
Sven2
2002-05