Skip to content

Part_deflector_exists

hugh greene edited this page Jun 20, 2022 · 1 revision

Description

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

Return Values

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

Example Call

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

NOTOC

Clone this wiki locally