BBMOD_MixVec3FromHealthModule

A constructor defined in bbmod_mixvec3fromhealthmodule.gml

Extends BBMOD_ParticleModule

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

Description

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

Arguments

Name Type Description
_property Real The first of the three consecutive properties. Use values from BBMOD_EParticle. Defaults to undefined.
_from Struct.BBMOD_Vec3 The value when the particle has full health. Defaults to (0.0, 0.0, 0.0).
_to Struct.BBMOD_Vec3 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, 0.0).
Property The first of the three 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_MixVec3FromHealthModule.From.

Inherited properties

Name Description
Enabled If true then the module is enabled. Defaults value is true.

Inherited methods

Name Description
destroy Frees resources used by the struct from memory.
implement Implements an interface into the struct.
implements Checks whether the struct implements an interface.
is_instance Checks if the struct inherits from given class.
on_finish Executed once at the end of the emitter's emission cycle. Never executed if the emitted particle system is looping!
on_particle_finish Executed when a particle dies.
on_particle_start Executed when a new particle is spawned.
on_start Executed at the beginning of the emitter's emission cycle and every time it loops.
on_update Executed every time the emitter is updated.

See also

BBMOD_EParticle

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on May 02, 2023 using GMDoc.