Part_emitter_create - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Creates a new particle emitter in the given particle system and returns the index. A particle emitter will emit particles.

Parameters

Parameter Data Type Description
sys integer index of the particle system to create the emitter in

Return Values

integer: Returns the index of the newly created particle emitter.

Example Call

// demonstrates creating a particle emitter
var emitter;
emitter = particle_emitter_create(sys);

NOTOC