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
| Argument | Type | Description |
|---|---|---|
| num | :real | The custom particle slot to change |
| sprite_index | :real | The sprite index to assign to that slot |
Example, called from init.gml:
set_hit_particle_sprite( 1, sprite_get( "custom_sprite" ) );
