{"name":"setParticleParams","operator":null,"title":"setParticleParams","type":"command","url":"https://community.bistudio.com/wiki/setParticleParams","revid":377766,"updated":"2026-01-03T01:02:12Z","groups":["Particles"],"status":"ok","replaced_by":[],"games":[{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma1","name":"Armed Assault","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[{"name":"particleSource","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"particleSource: Object"},{"name":"array","type":"ParticleArray","optional":false,"default":null,"description":null,"types":["ParticleArray"],"since":null,"text":"array: ParticleArray"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"particleSource","types":["Object"]},"right":{"text":"array","types":["ParticleArray"]}}],"examples":[{"text":"see ParticleArray","code":[]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Arma 3: Particle Effects","ParticleArray","setParticleClass","setParticleRandom","setParticleCircle","setParticleFire","setDropInterval","drop"],"notes":[],"categories":[]}