part_emitter_create - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Creates a new particle emitter in the given particle system and returns the index. A particle emitter will emit particles.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system to create the emitter in |
integer: Returns the index of the newly created particle emitter.
// demonstrates creating a particle emitter
var emitter;
emitter = particle_emitter_create(sys);
NOTOC