Skip to content

niParticleBomb⚓︎

This modifer applies acceleration to particles in the parent niParticleSystemController.

This type inherits the following: niParticleModifier, niObject

Properties⚓︎

controller⚓︎

Access to the generic time controller for particle systems.

Returns:


decay⚓︎

The niParticleBomb modifers with decayType linear and exponential have their strength attenuated with distance. No attenuation occurs within the .decay distance of the niParticelBomb's position.

Returns:

  • result (number)

decayType⚓︎

Controls how the force applied attenuates with distance. Maps to values in ni.particleBombDecayType table.

Returns:


deltaV⚓︎

The acceleration applied to the particles.

Returns:

  • result (number)

direction⚓︎

The direction of applied acceleration used for cylindrical and planar particle bombs.

Returns:


duration⚓︎

Controls how long this modifer affects the particles.

Returns:

  • result (number)

next⚓︎

Access to the next attached modifier.

Returns:


position⚓︎

This is the center of force that spherical and cylindrical particle bombs apply to the particles.

Returns:


refCount⚓︎

Read-only. The number of references that exist for this object. When this value reaches zero, the object will be deleted.

Returns:

  • result (number)

RTTI⚓︎

Read-only. The runtime type information for this object. This is an alias for the .runTimeTypeInformation property.

Returns:


runTimeTypeInformation⚓︎

Read-only. The runtime type information for this object.

Returns:


start⚓︎

The time at which this modifier start affecting the particles.

Returns:

  • result (number)

symmetryType⚓︎

Controls how this modifer affects the particles. Spherical modifer operates around the point defined by .position property. Cylindrical modifer applied the force parallel to the .direction vector, centered at position property. Planar modifers operate perpendicular to the .direction vector.

Maps to values in ni.particleBombSymmetryType table.

Returns:


Methods⚓︎

clone⚓︎

Creates a copy of this object.

local result = myObject:clone()

Returns:


isInstanceOfType⚓︎

Determines if the object is of a given type, or of a type derived from the given type.

local result = myObject:isInstanceOfType(type)

Parameters:

Returns:

  • result (boolean)

isOfType⚓︎

Determines if the object is of a given type.

local result = myObject:isOfType(type)

Parameters:

Returns:

  • result (boolean)

saveBinary⚓︎

Serializes the object, and writes it to the given file.

local success = myObject:saveBinary(path)

Parameters:

  • path (string): The path to write the file at, relative to the Morrowind installation folder.

Returns:

  • success (boolean): If true the object was successfully serialized.