part_changer_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

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

Return Values

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

Example Call

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

NOTOC

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