Posted by Nightmare on December 03, 1998 at 09:55:24:
In Reply to: Re: MotS particlespray cog posted by Dylan on December 03, 1998 at 06:51:33:
They ghosts don't need to be looking up, leave them orieted at 0 0 0 (unless you want the particles to move sideway). Try a new cog, something like this...
# particles.cog
#
# Generates particles from a ghost position.symbols
message startup
message pulsething ghost0
template particles
int rate
int dummy localend
#==========================================
startup:
dummy = CreateThing(particles, ghost0);
setpulse(rate);
return;
pulse:
destroything(dummy);
dummy = creatething(particles, dummy);return;
end