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.
Argument | Description |
---|---|
System | The ID of the system that the emitter is in |
Emitter | The ID of the emitter to use |
Type | The ID of the particle type to create |
Event | The event type for the particles, either "Burst" or "Stream" |
Count | The number of particles to burst or stream |
The above action block code will create a particle emitter, set it's region, and then set it to emit a stream of particles.