How do i script a particle effect to start?

Sorry if this is a really newbie question, i only starting using the engine yesterday.

I have a particle emitter and i would like to script it so it only starts at a certain point in an animation. I am aware that you can call functions during animations and am aware that this will need to be done however i am at a loss to the actual syntax that is needed to start the emitter. I’m scripting in javascript btw.

Any help would be appreciated,
Thanks.

1 Answer

1

I believe that you are simply looking for yourParticleEmitter.particleEmitter.enabled = (true for on and false for off).

thanks, it wasn't quite the answer i needed but it helped me find the right answer. yourParticleEmitter.particleEmitter.emit = (true for on and false for off). was what i needed :)

–

No problem, sorry I didn't get it completely correct but I am glad I could help.

–