A constructor defined in bbmod_addrealoncollisionmodule.gml

Extends BBMOD_ParticleModule

new BBMOD_AddRealOnCollisionModule([_property[, _change]])


A universal particle module that adds a value to particles' property when they have a collision.


Name Type Description
_property Real The property to add the value to. Use values from BBMOD_EParticle. Defaults to undefined.
_change Real The value to add to particles' health. Defaults to 1.0.


Name Description
Change The value to add on collision. Default value is 1.0.
Property The property to add the value to. 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


Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on September 11, 2023 using GMDoc.