---
name: "setParticleParams"
type: command
status: ok
groups: ["Particles"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setParticleParams
revid: 377766
updated: 2026-01-03T01:02:12Z
---

# setParticleParams

*Command · Particles · Arma 3 v0.50 · introduced in Armed Assault v1.00*

Locality: arguments **global** · effect **local**

## Description

Set parameters to particle source. Array is in format ParticleArray.

Since Arma 3 version 1.11.114706 you can use this command to overwrite many values set by [setParticleClass](../commands/setParticleClass.md), particularity those defined in ParticleArray. Correspondence between CfgCloudlets class param names and command array of params:

```sqf
particleSource setParticleParams
[
    /*
        String or Array - If string then the name of the particleShape. And following default values are used:
            particleFSNtieth = 1
            particleFSIndex = 0
            particleFSFrameCount = 1
            particleFSLoop = 1
    */
    [
        particleShape,            /* String */
        particleFSNtieth,        /* Number */
        particleFSIndex,        /* Number */
        particleFSFrameCount,    /* Number */
        particleFSLoop            /* Optional - Number. Default: 1 */
    ],
    animationName,                /* String */
    particleType,                /* String - Enum: Billboard, SpaceObject */
    timerPeriod,                /* Number */
    lifeTime,                    /* Number */
    pos3D,                        /* 3D Array of numbers as relative position to particleSource or (if object at index 18 is set) object. 
                                    Or (if object at index 18 is set) String as memoryPoint of object. */
    moveVelocity,                /* 3D Array of numbers. */
    rotationVelocity,            /* Number */
    weight,                        /* Number */
    volume,                        /* Number */
    rubbing,                    /* Number */
    sizeOverLifetime,            /* Array of Numbers */
    color,                        /* Array of Array of RGBA Numbers */
    animationSpeed,                /* Array of Number */
    randomDirectionPeriod,        /* Number */
    randomDirectionIntensity,    /* Number */
    onTimerScript,                /* String */
    beforeDestroyScript,        /* String */
    obj,                        /* Object */
    angle,                        /* Optional Number - Default: 0 */
    onSurface,                    /* Optional Boolean - Default: true */
    bounceOnSurface,            /* Optional Number - Default: -1 */
    emissiveColor,                /* Optional Array of Array of RGBA Numbers - Default [0,0,0,0] */
    vectorDirOrVectorDirAndUp    /* Optional vector dir or [vectorDir, vectorUp]
        Since Arma 3 v1.92 it is possible to set the initial direction of the SpaceObject
        Since Arma 3 v2.12 it is possible to use a [vectorDir, vectorUp] array */
];
```

## Syntax

```sqf
particleSource setParticleParams array
```

**Parameters:**

- `particleSource`: [Object](../topics/Object.md)
- `array`: ParticleArray

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

see ParticleArray

## See also

Arma 3: Particle Effects · ParticleArray · [setParticleClass](../commands/setParticleClass.md) · [setParticleRandom](../commands/setParticleRandom.md) · [setParticleCircle](../commands/setParticleCircle.md) · [setParticleFire](../commands/setParticleFire.md) · [setDropInterval](../commands/setDropInterval.md) · [drop](../commands/drop.md)

<sub>Source: [BI Community Wiki — setParticleParams](https://community.bistudio.com/wiki/setParticleParams) (revision 377766).</sub>
