NiPSysAgeDeathModifier

From GECK
Jump to: navigation, search

NiPSysAgeDeathModifier is a modifier responsible for updating the age of existing particles in an active particle system and removing particles that have reached the end of their lifespan. It is a required modifier for all particle systems.

A typical example of a NiPSysAgeDeathModifier.

Its fields are:

  • Name: The name of the modifier.
  • Order: Should always be 0, as it tells the particle system to kill old particles.
  • Target: The particle system you wish to affect.
  • Active: If the modifier is enabled. You can animate this value by specifying the name of the modifier as the Controller ID in a NiControllerSequence and using a NiPSysModifierActiveCtlr as a controller with a NiBoolTimelineInterpolator as the interpolator.
  • Spawn on Death: If the particle system should generate new particles when old ones die.
  • Spawn Modifier: Requires a NiPSysSpawnModifier to determine the amount of particles to spawn as well as their lifespan.