{"name":"setParticleClass","title":"setParticleClass","type":"command","url":"https://community.bistudio.com/wiki/setParticleClass","revid":379381,"updated":"2026-10-30T23:58:56Z","groups":["Particles"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Sets particle source parameters using existing particle config from `CfgCloudlets` class. Use setParticleParams subsequently if you need to overwrite some values.\n\n> [!IMPORTANT]\n> If `CfgCloudlets` class contains simple expressions, they will not be evaluated by this command, which might make the whole class unusable in script.","syntaxes":[{"syntax":"source setParticleClass className","params":[{"name":"source","type":"Object","description":"particle source","type_expr":"Object"},{"name":"className","type":"String","description":"CfgCloudlets class","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"source"},"right":{"text":"className"}}],"examples":[{"code":["_source01 = \"#particlesource\" createVehicleLocal _pos01;\n_source01 setParticleClass \"ObjectDestructionFire1Smallx\";\n_source01 attachTo [_object,[0,0,0]];"]}],"see_also":["Arma 3: Particle Effects","ParticleArray","setParticleParams","setParticleRandom","setParticleCircle","setParticleFire","setDropInterval","drop"],"notes":[{"user":"Waffle SS.","date":"2015-06-28T21:17:00Z","text":"This can be very useful for getting features that can't normally be added with commands, such as AI view blocking and particles that can only be above/underwater."}]}