part_destroyer_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets whether or not the given particle destroyer 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 destroyer

Return Values

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

Example Call

// demonstrates checking if a particle destroyer exists
if (part_destroyer_exists(sys, attr)) {
  // destroyer does exist
} else {
  // destroyer does not exist
}

NOTOC

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