Re: MotS particlespray cog


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

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 pulse

thing ghost0

template particles

int rate
int dummy local

end

#==========================================

startup:

dummy = CreateThing(particles, ghost0);

setpulse(rate);

return;

pulse:

destroything(dummy);
dummy = creatething(particles, dummy);

return;

end




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]