@cccode/fxr - v22.0.0

    Class ParticleSpeedPartialFollow

    Slot: ParticleMovement

    Controls the movement of particles. This extends ParticleSpeedRandomTurns with the ability to make particles partially follow the parent node.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    followFactor: ScalarValue

    Controls how well the particles should follow the parent node if they are not attached. At 0, the particles will not follow at all. At 1, the particles will follow perfectly, as if attached to the parent node. Negative values will make the particles move in the opposite direction compared to the parent node. Values greater than 1 will make the particles exaggerate the parent node's movement.

    Default: 0

    Argument: Particle age

    See also:

    followRotation: boolean

    Disabling this will make followFactor only affect translation and not rotation.

    Default: true

    gravity: ScalarValue

    Controls the acceleration of the particle along the global Y-axis. Positive values will make the particles go down, and negative values will go up.

    Unless it's left at 0, this changes the current direction of the particles, which can affect various other things, for example the rotation of Line and QuadLine particles, and the direction of this action's speed. It does not affect the particles' initial direction.

    Default: 0

    Argument: Particle age

    maxTurnAngle: ScalarValue

    The particles will turn a random amount based on this value at intervals defined by turnInterval.

    This turning affects the particles' current direction, which can affect various other things, for example this action's speed.

    Default: 0

    Argument: Particle age

    The particles' speed in their current direction, which is usually their initial direction, but can be changed over time by other things, for example this action's gravity.

    Default: 0

    Argument: Particle age

    speedMultiplier: ScalarValue

    Multiplier for speed.

    Default: 1

    Argument: Particle age

    turnInterval: number

    The particles will turn a random amount based on maxTurnAngle at this interval. The units are seconds, but due to how the field that stores this value works, the value will be rounded to the nearest 0.02 seconds.

    This turning affects the particles' current direction, which can affect various other things, for example this action's speed.

    Default: 0

    The numeric ID for the type of action this represents.

    unk_ds3_f1_0: number

    Unknown float.

    Default: 0

    Accessors

    Methods

    • Creates a minified version of this action.

      Some actions can be minified to make the output smaller. This is done by creating a simpler action that is functionally equivalent to this action.

      Actions that can not be minified will not be changed.

      Returns any

    • Scale the rate of time for the action.

      This method's main purpose is to serve as a fallback for changing the rate of time for Dark Souls 3 effects, which doesn't support the rateOfTime property. The rate of time is automatically scaled when writing effects for DS3, you do not need to do this yourself. As such, this method is only useful if you want to scale the rate of time for individual parts of an effect, or if you need the extra options available for this method.

      Parameters

      • factor: number

        The factor to scale the rate of time by. Setting this to 2 will make the action play twice as fast. Setting it to 0.5 will make it play half as fast.

      • Optionaloptions: { scaleTracerDuration?: boolean } = {}

        Extra options for changing how the scaling is applied to different properties.

      Returns ParticleSpeedPartialFollow

    MMNEPVFCICPMFPCPTTAAATR