BBMOD_MixVec2FromHealthModule

Extends BBMOD_ParticleModule

constructor

new BBMOD_MixVec2FromHealthModule([_property[, _from[, _to]]])

Description

A universal particle module that mixes values of particles' two consecutive properties between two values based on their remaining health.

Arguments

Name Type Description
_property Real The first of the two consecutive properties. Use values from BBMOD_EParticle. Defaults to undefined.
_from Struct.BBMOD_Vec2 The value when the particle has full health. Defaults to (0.0, 0.0).
_to Struct.BBMOD_Vec2 The value when the particle has no health left. Defaults to _from.

Properties

Name Description
From The value when the particle has full health. Default value is (0.0, 0.0).
Property The first of the two consecutive properties. 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_MixVec2FromHealthModule.From.

See also

BBMOD_EParticle

Do you find this page helpful?

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