I thought he want to make something like a rain effect. But if he want it to do it only in a specific place, then he can use TE_SPRITETRAIL:
PHP Code:
#define TE_SPRITETRAIL 15 // Line of moving glow sprites with gravity, fadeout, and collisions
// write_byte(TE_SPRITETRAIL)
// write_coord(startposition.x)
// write_coord(startposition.y)
// write_coord(startposition.z)
// write_coord(endposition.x)
// write_coord(endposition.y)
// write_coord(endposition.z)
// write_short(sprite index)
// write_byte(count)
// write_byte(life in 0.1's)
// write_byte(scale in 0.1's)
// write_byte(velocity along vector in 10's)
// write_byte(randomness of velocity in 10's)
__________________