{"name":"setParticleParams","title":"setParticleParams","type":"command","url":"https://community.bistudio.com/wiki/setParticleParams","revid":377766,"updated":"2026-01-03T01:02:12Z","groups":["Particles"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Set parameters to particle source. Array is in format ParticleArray.\n\nSince Arma 3 version 1.11.114706 you can use this command to overwrite many values set by setParticleClass, particularity those defined in ParticleArray. Correspondence between CfgCloudlets class param names and command array of params:\n\n```sqf\nparticleSource setParticleParams\n[\n    /*\n        String or Array - If string then the name of the particleShape. And following default values are used:\n            particleFSNtieth = 1\n            particleFSIndex = 0\n            particleFSFrameCount = 1\n            particleFSLoop = 1\n    */\n    [\n        particleShape,            /* String */\n        particleFSNtieth,        /* Number */\n        particleFSIndex,        /* Number */\n        particleFSFrameCount,    /* Number */\n        particleFSLoop            /* Optional - Number. Default: 1 */\n    ],\n    animationName,                /* String */\n    particleType,                /* String - Enum: Billboard, SpaceObject */\n    timerPeriod,                /* Number */\n    lifeTime,                    /* Number */\n    pos3D,                        /* 3D Array of numbers as relative position to particleSource or (if object at index 18 is set) object.\n                                    Or (if object at index 18 is set) String as memoryPoint of object. */\n    moveVelocity,                /* 3D Array of numbers. */\n    rotationVelocity,            /* Number */\n    weight,                        /* Number */\n    volume,                        /* Number */\n    rubbing,                    /* Number */\n    sizeOverLifetime,            /* Array of Numbers */\n    color,                        /* Array of Array of RGBA Numbers */\n    animationSpeed,                /* Array of Number */\n    randomDirectionPeriod,        /* Number */\n    randomDirectionIntensity,    /* Number */\n    onTimerScript,                /* String */\n    beforeDestroyScript,        /* String */\n    obj,                        /* Object */\n    angle,                        /* Optional Number - Default: 0 */\n    onSurface,                    /* Optional Boolean - Default: true */\n    bounceOnSurface,            /* Optional Number - Default: -1 */\n    emissiveColor,                /* Optional Array of Array of RGBA Numbers - Default [0,0,0,0] */\n    vectorDirOrVectorDirAndUp    /* Optional vector dir or [vectorDir, vectorUp]\n        Since Arma 3 v1.92 it is possible to set the initial direction of the SpaceObject\n        Since Arma 3 v2.12 it is possible to use a [vectorDir, vectorUp] array */\n];\n```","syntaxes":[{"syntax":"particleSource setParticleParams array","params":[{"name":"particleSource","type":"Object","type_expr":"Object"},{"name":"array","type":"ParticleArray","type_expr":"ParticleArray"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"particleSource"},"right":{"text":"array"}}],"examples":[{"text":"see ParticleArray"}],"see_also":["Arma 3: Particle Effects","ParticleArray","setParticleClass","setParticleRandom","setParticleCircle","setParticleFire","setDropInterval","drop"]}