Skip to content

Part_attractor_exists

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

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

Return Values

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

Example Call

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

NOTOC

This is number 1

Clone this wiki locally