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

# Condition : ReferenceTarget

    Condition - superclass: ReferenceTarget; super-superclass:MAXWrapper - 29:0 - classID: #(1137313552, 554188032)

Description:

NEW in 3ds Max 2014: The Condition Particle Data View sub-operator creates boolean data by testing scalar data.

Constructor:

    Condition...

Properties:

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

Get/set the selection of the "Input Type" drop-down list.

It defines the type of the values to be compared in the condition.

Possible values are:

0 - Angle

1 - Float (default)

2 - Integer

3 - Percent

4 - Time

5 - World Unit

## Output True If Input Value

    <Condition>.Condition_Type_Int     Integer    default: 1   --  integer

    <Condition>.Condition_Type_Real     Integer    default: 1   --  integer

### Value A

    <Condition>.Angle_A     Float    default: 0.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)

    <Condition>.Float_A     Float    default: 0.0   --  animatable; float

    <Condition>.Integer_A     Integer    default: 0   --  animatable; integer

    <Condition>.Percent_A     Float    default: 0.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

    <Condition>.Time_A     Integer    default: 0   --  animatable; integer

    <Condition>.World_A     Float    default: 0.0   --  animatable; worldUnits

Get/set the A value depending on the type specified by the .Type property.

    <Condition>.Use_Input_As_A     BooleanClass    default: false   --  boolean

    <Condition>.Use_Second_Condition     BooleanClass    default: false   --  boolean

### Value B

    <Condition>.Angle_B     Float    default: 90.0   --  animatable; angle; Controller Scaling: (1 : 57.2958)

    <Condition>.Float_B     Float    default: 10.0   --  animatable; float

    <Condition>.Integer_B     Integer    default: 10   --  animatable; integer

    <Condition>.Percent_B     Float    default: 50.0   --  animatable; percent; Controller Scaling: (1 : 100.0)

    <Condition>.Time_B     Integer    default: 4800   --  animatable; integer

    <Condition>.World_B     Float    default: 10.0   --  animatable; worldUnits

Get/set the B value depending on the type specified by the .Type property.

    <Condition>.Use_Input_As_B     BooleanClass    default: false   --  boolean

## Input and Filter Sockets

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

    <Condition>.Input_2     UndefinedClass    default: undefined   --  maxObject

    <Condition>.Input_3     UndefinedClass    default: undefined   --  maxObject

    <Condition>.Input_4     UndefinedClass    default: undefined   --  maxObject

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

    <Condition>.Use_As_Acceleration     BooleanClass    default: false   --  boolean

    <Condition>.Use_As_Speed_Or_Spin_Rate     BooleanClass    default: false   --  boolean

    <Condition>.Units_Per_Type     Integer    default: 2   --  integer

    <Condition>.Angle_As_Orientation     BooleanClass    default: false   --  boolean

## Parameters Animation Sync group of controls

    <Condition>.Sync_Type     Integer    default: 0   --  animatable; integer

    <Condition>.Use_E4     BooleanClass    default: false   --  boolean

## Condition interfaces:

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

Interface: DataViewItem