part_emitter_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets whether or not the given particle emitter exists in the given particle system and returns the result.

Parameters

Parameter Data Type Description
sys integer index of the particle system
ind integer index of the particle emitter

Return Values

boolean: Returns whether the particle emitter exists in the particle system.

Example Call

// demonstrates checking if a particle emitter exists
if (part_emitter_exists(sys, emitter)) {
  // emitter does exist
} else {
  // emitter does not exist
}

NOTOC

⚠️ **GitHub.com Fallback** ⚠️