part_destroyer_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Gets whether or not the given particle destroyer 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 destroyer |
boolean: Returns whether the particle destroyer exists in the particle system.
// demonstrates checking if a particle destroyer exists
if (part_destroyer_exists(sys, attr)) {
// destroyer does exist
} else {
// destroyer does not exist
}
NOTOC