part_emitter_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Gets whether or not the given particle emitter exists in the given particle system and returns the result.
Parameter | Data Type | Description |
---|---|---|
sys | integer | index of the particle system |
ind | integer | index of the particle emitter |
boolean: Returns whether the particle emitter exists in the particle system.
// demonstrates checking if a particle emitter exists
if (part_emitter_exists(sys, emitter)) {
// emitter does exist
} else {
// emitter does not exist
}
NOTOC