Each emitter can be launched or stopped at any time
using these commands:
Emitter_Start MyEmitter
Emitter_Stop MyEmitter
If you start an emitter that has been running already, it simply
restarts its emission from the beginning.
You can also stop ALL active emitters at once:
Emitters_Stop
Stopping an emitter will ONLY stop it's particle
emission. It will not free it's attached particle types
or sounds, so the emitter may be launched again at any time.
You can also check if an amitter is currently emitting
any particles:
If Emitter_IsActive (MyEmitter) = True Then ...
This command returns TRUE if the specified emitter is
emitting any particles at this time or FALSE if it has not been
started or has already finished its emission.
If Emitter_HasFinished (MyEmitter) = True Then ...
This command returns TRUE after the last paricles have
left the emitter completely. If there are no more particles to emit,
an emitter will fall asleep (become inactive) until launched
again.
|