Emit Particles Icon Emit Particles

This action is used to create particles from an emitter. You supply the particle system ID that the emitter belongs to (as returned by the action Create Particle System) and then the actual emitter ID (as returned by the action Create Particle Emitter), and finally the particle type to create (as returned by the action Create Particle Type). You can then select to "Burst" or "Stream" the particles from the emitter, as well as give the number of them you want to create.

When you choose to stream particles, you do not need to place this action in a game frame event like the Step Event or the Draw event, but instead simply call it once in the Create Event (for example) and the emitter will stream particles every game frame until you call this action again to stop it (by setting the count value to 0). If you choose to burst the particles, then you can call this in any event you choose and the particles will be created once.

 

Action Syntax:

Emit Particles Action

Arguments:

ArgumentDescription
SystemThe ID of the system that the emitter is in
EmitterThe ID of the emitter to use
TypeThe ID of the particle type to create
EventThe event type for the particles, either "Burst" or "Stream"
CountThe number of particles to burst or stream

 

Example:

Emit Particles ExampleThe above action block code will create a particle emitter, set it's region, and then set it to emit a stream of particles.