void stern_spray()
{
set(me,PASSABLE|TRANSLUCENT|ZNEAR|BRIGHT);
// if (random(10)>7) set(me,BRIGHT);
my.alpha = random(50)+50;
my.x += random(64)-32;
my.y += random(64)-32;
my.z += random(64)-32;
vec_scale(my.scale_x,0.01 + random(10)/33);
my.roll=random(360);
var xspeed = random(23) - 11.5, yspeed = random(23) - 11.5, zspeed = random(23) - 11.5, rollspeed = random(14)-7;
while(my.alpha>0)
{
my.alpha -= 5*time_step;
my.roll += rollspeed;
c_move(me,nullvector,vector(xspeed,yspeed,zspeed),IGNORE_PASSABLE|IGNORE_SPRITES);
zspeed -= time_step;
wait(1);
}
ent_remove(me);
}