set_hit_particle_sprite

Sets the character’s custom Hit Particle sprite for the specified slot. Note that this will only successfully run in init.gml.

Can be assigned to a custom sprite using

sprite_get( sprite )  Reference→

or set to one of the following indexes

ArgumentTypeDescription
num:realThe custom particle slot to change
sprite_index:realThe sprite index to assign to that slot

Example, called from init.gml:

set_hit_particle_sprite( 1, sprite_get( "custom_sprite" ) );