part_type_clear(ind);
Argument | Description |
---|---|
ind | The index of the particle type to clear. |
Returns: N/A
With this function you can "reset" a particle, returning all the
values for each of the functions relating to the particle (life,
colour, alpha, orientation etc...) to their default values. Note
that this function does not remove any particles currently visible
in the room from the screen, for that you should be using part_particles_clear.
part_type_clear(global.explode_part);
The above code will clear the particle type indexed in the global variable "explode_part" to its default values.