part_type_life - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Sets the number of steps particles of the given particle type will exist before being automatically cleared.
| Parameter | Data Type | Description |
|---|---|---|
| ind | integer | index of the particle type |
| min | integer | minimum lifetime, default is 100 |
| max | integer | maximum lifetime, default is 100 |
void: This function does not return anything.
// demonstrates setting the life of a particle type
part_type_life(type, 100, 200);
NOTOC