MAXScript Extensions > MAXScript Extensions for Particle Flow > Particle Flow Classes > Data Operators > Data Sub-Operators >

# AmountChange : ReferenceTarget

    AmountChange - superclass: ReferenceTarget; super-superclass:MAXWrapper - 29:0 - classID: #(1137313551, 554188032)

| Particle Flow - Quick Navigation

Description:

NEW in 3ds Max 2014: The AmountChange Particle Data View sub-operator modifies particle count either by spawning or by deletion.

Constructor:

    AmountChange...

Properties:

    <AmountChange>.Type     Integer    default: 1   --  integer

Possible values are:

0 - Delete

1 - Spawn (default)

    <AmountChange>.Sub_Type     Integer    default: 0   --  radiobtnIndex

Get/set the state of the sub-type radio buttons which have different meaning depending on the .Type property.

This property controls the type and function of the .Input_1 socket.

Possible values when the .Type property is set to 1 - Spawn are:

0 - Integer As Amount (default)

1 - Integer As Additive

Possible values when the .Type property is set to 0 - Delete are:

0 - False To Delete (default)

1 - True To Delete

    <AmountChange>.Reset_Particle_Age     BooleanClass    default: true   --  boolean

Get/set the state of the "Reset Particle Age" checkbox.

It is only used when the .Type property is set to 1 - Spawn.

    <AmountChange>.Spawns_As_New_In_Event     BooleanClass    default: true   --  boolean

Get/set the state of the "Spawn As New In Event" checkbox.

It is only used when the .Type property is set to 1 - Spawn.

    <AmountChange>.Input_1     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the first Input of the AmountChange sub-operator.

Assigning a sub-operator object to this property will effectively wire its output to the first Input.

When .Type is set to 0 - Delete, the connected value type must be Boolean.

When .Type is set to 1 - Spawn, the connected value type must be Integer.

    <AmountChange>.Filter     UndefinedClass    default: undefined   --  maxObject

Get/set the sub-operator connected to the Filter Input of the AmountChange sub-operator.

## Priority And Execution Order

    <AmountChange>.Proceed_Type     Integer    default: 1   --  radiobtnIndex

Get/set the state of the Proceed Type radio buttons.

Possible values are:

0 - Pre

1 - Normal (default)

2 - Post

    <AmountChange>.History_Dependent     BooleanClass    default: true   --  boolean

Get/set the state of the "History-Dependent" checkbox.

    <AmountChange>.Execution_Order     Integer    default: 1   --  integer

Get/set the value of the "Execution Order" spinner.

## Record Spawning To Data group of controls

    <AmountChange>.Use_Is_Current_Parent     BooleanClass    default: false   --  boolean

Get/set the state of the "Is Current Parent" checkbox.

    <AmountChange>.Is_Current_Parent_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Is Current Parent" checkbox is checked.

    <AmountChange>.Use_Is_Current_Spawn     BooleanClass    default: false   --  boolean

Get/set the state of the "Is Current Spawn" checkbox.

    <AmountChange>.Is_Current_Spawn_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Is Current Spawn" checkbox is checked.

    <AmountChange>.Use_Parent_ID     BooleanClass    default: false   --  boolean

Get/set the state of the "Is Parent ID" checkbox.

    <AmountChange>.Parent_ID_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Is Parent ID" checkbox is checked.

    <AmountChange>.Use_Last_Spawn_ID     BooleanClass    default: false   --  boolean

Get/set the state of the "Last Spawn ID" checkbox.

    <AmountChange>.Last_Spawn_ID_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Last Spawn ID" checkbox is checked.

    <AmountChange>.Use_First_Spawn_ID     BooleanClass    default: false   --  boolean

Get/set the state of the "First Spawn ID" checkbox.

    <AmountChange>.First_Spawn_ID_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "First Spawn ID" checkbox is checked.

    <AmountChange>.Use_Current_First_Spawn_ID     BooleanClass    default: false   --  boolean

Get/set the state of the "Current First Spawn ID" checkbox.

    <AmountChange>.Current_First_Spawn_ID_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Current First Spawn ID" checkbox is checked.

    <AmountChange>.Use_Older_Sibling_ID     BooleanClass    default: false   --  boolean

Get/set the state of the "Older/Previous Siblong ID" checkbox.

    <AmountChange>.Older_Sibling_ID_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Older/Previous Siblong ID" checkbox is checked.

    <AmountChange>.Use_Current_Spawn_Count     BooleanClass    default: false   --  boolean

Get/set the state of the "Current Spawn Count" checkbox.

    <AmountChange>.Current_Spawn_Count_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Current Spawn Count" checkbox is checked.

    <AmountChange>.Use_Total_Spawn_Count     BooleanClass    default: false   --  boolean

Get/set the state of the "Total Spawn Count" checkbox.

    <AmountChange>.Total_Spawn_Count_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Total Spawn Count" checkbox is checked.

    <AmountChange>.Use_Current_Spawn_Order     BooleanClass    default: false   --  boolean

Get/set the state of the "Current Spawn Order" checkbox.

    <AmountChange>.Current_Spawn_Order_Data_Channel     UndefinedClass    default: undefined   --  maxObject

Get/set the Data Channel to use when the "Current Spawn Order" checkbox is checked.

## AmountChange interfaces:

The following common interface is exposed by the AmountChange Particle Data View sub-operator:

Interface: DataViewItem