Action: Change Infectio

This action gives control over an Infectio modifier. It can either affect particles directly, or by changing an Infectio modifier in the scene.

Interface

The Action's interface looks like this:

Parameters

Mode

This sets the operation mode of the Action. There are two options:

Direct Change

The Action will directly alter the Infectio state of a particle (see the Infectio modifier for details). Although it does not require an Infectio modifier to be present in the scene, altering the state without such a modifier will have no effect. This lets you change a particle's state without having to use an Infectio seed object, so you can (for example) create a seed particle at a precise time or specify the exact particle you want to use.

Control Modifier

In this case the Action will let you control the operation of an Infectio modifier in the scene.

Control Modifier mode

Infectio Modifier

This field accepts an Infectio modifier which you drag into the field from the Object Manager. Without a linked modifier, you cannot access any of the other parameters and the Action will have no effect. In addition, in the modifier's interface the Mode parameter MUST be set to 'Action-controlled'. If it is set to 'Independent' the modifier will simply work on its own like any of the standard Cinema 4D modifiers and the Action will have no effect on it.

Effect on Particle

This drop-down menu has two modes:

Modifier Will Affect Particle

In this mode the modifier will start to influence the particular particle which is affected by this Action. Once the particle is influenced by a modifier, that influence will continue until the effect is turned off (e.g. by another Action).

Note that whether the modifier actually has any effect on the particle will depend on the modifier's parameters and especially on its falloff. Even if the modifier is set to effect a particle, it may have no effect on it if the particle never enters the field of effect of the modifier.

Modifier Will NOT Affect Particle

In this mode, the modifier's influence on the particle will be turned off and the modifier will never affect the particle, unless it is turned back on again (e.g. by another Action).

Direct Change mode

Infectio State

The only parameter which you can change in direct change mode is the Infectio state. You can set the state to one of three options:

Not Infected

This will change a particle's state to not infected. If it was already in that state, this option has no effect.

Incubating

This will change a particle's state to Incubating. If it was already in that state, this option has no effect.

Infected

This will change a particle's state to Infected. If it was already in that state, this option has no effect. This is the default setting and is the most useful one, since you can use it to make a particle into a seed particle, which will then start to infect other particles.

Groups Affected

Drag any particle group objects into this list. If there is one or more groups in the list, only those particles which are in those groups will be affected by the action. But if there are no groups, all particles will be affected by the action.