M MY Multiplayer: Wiki
Side
Kind

engineSetParticleDensity

Client

Sets the fraction of effect particles that are emitted. The rest are dropped at random.

bool engineSetParticleDensity(float density)

Parameters

NameTypeDescription
densityfloatFrom 0 (none) to 1 (all). The default is 1. Anything else raises an error.

Returns

Always true.

The setting applies to the whole client and stays after the resource stops.

Example

engineSetParticleDensity(0.5)

See also