BBMOD_AddVec4OverTimeModule

A constructor defined in bbmod_addvec4overtimemodule.gml

Extends BBMOD_ParticleModule

new BBMOD_AddVec4OverTimeModule([_property[, _change[, _period]]])

Description

A universal particle module that adds a value to four consecutive particle properties over time.

Arguments

Name Type Description
_property Real The first of the four consecutive properties. Use values from BBMOD_EParticle. Defaults to undefined.
_change Struct.BBMOD_Vec4 The value added over specified period. Defaults to (1.0, 1.0, 1.0, 1.0).
_period Real How long in seconds it takes to add the value to the properties. Defaults to 1.0.

Properties

Name Description
Change The value added over BBMOD_AddVec4OverTimeModule.Period. Default value is (1.0, 1.0, 1.0, 1.0).
Period How long in seconds it takes to add the value to the properties. Defaults to 1.0.
Property The first of the four consecutive properties. Use values from BBMOD_EParticle. Default value is undefined.

Inherited properties

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

Inherited methods

Name Description
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.HealthLeft

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.