BBMOD_MixRealOverTimeModule

Extends BBMOD_ParticleModule

constructor

new BBMOD_MixRealOverTimeModule([_property[, _from[, _to[, _duration]]]])

Description

A universal particle module that mixes value of particles' property between two values based on their time alive.

Arguments

Name Type Description
_property Real The property to set initial value of. Use values from BBMOD_EParticle. Defaults to undefined.
_from Real The value when the particle has full health. Defaults to 0.0.
_to Real The value when the particle has no health left. Defaults to _from.
_duration Real How long in seconds it takes to mix between the two values. Defaults to 1.0.

Properties

Name Description
Duration How long in seconds it takes to mix between the two values. Default value is 1.0.
From The value when the particle has full health. Default value is 0.0.
Property The property to set initial value of. Use values from BBMOD_EParticle. Default value is undefined.
To The value when the particle has no health left. Default value is the same as BBMOD_MixRealOverTimeModule.From.

See also

BBMOD_EParticle

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.