part_system_colour

This function changes the blend colour and alpha that the given particle system is rendered with. This is similar to image_blend and image_alpha in instances.

 

Syntax:

part_system_color(ind, color, alpha);

ArgumentTypeDescription
indParticle System InstanceThe index of the particle system to change.
colorColourThe new colour of the particle system.
alphaRealThe new alpha of the particle system.

 

Returns:

N/A

 

Example:

part_system_colour(pt_sys, c_red, 0.5);

This changes the colour of a particle system to red, with an alpha of 0.5.