Page MenuHomeFeedback Tracker

setParticleparams and/or setParticleClass broken
Reviewed, NormalPublic


setParticleParams seems to somehow break down if applied twice on same emitter; for example if you first set the class "BigDestructionSmoke" for an emitter, then later for the same emitter set some params for another effect and you will get something completely different than you might expect, like squares with numbers, bubbles, etc instead of a fire.

setParticleClass is affected as well, if you set the class "BigDestructionSmoke" for an emitter, then set "BigDestructionFire" for the same emitter squares, bubbles etc. appear instead of the fire..


Operating System
Windows 10 x64
Steps To Reproduce
  1. place a player entity, don't allow damage for it
  2. Preview, observe in 3rd person and in the debug console copy the following and exec
[] spawn { 
  private _foo = "#particleSource" createVehicle getPos player; 
  systemChat "emitter created"; 
  sleep 2; 
  systemChat "set class 'BigDestructionSmoke' for the emitter"; 
  _foo setParticleClass "BigDestructionSmoke"; 
  sleep 3; 
  systemchat "set the 'BigDestructionFire' params for the emitter";
  _foo setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal",16,10,32,1],"","Billboard",1,1.5,[0,0,0],[0,1,0],0,0.045,0.04,0.05,[1.8,0.12],[[1,1,1,-1]],[0.5,1],0,0,"","","",0,false,0,[[0,0,0,0]]];

Event Timeline

h- created this task.Nov 6 2017, 1:58 PM
Wulf changed the task status from New to Reviewed.Nov 7 2017, 2:12 PM
Wulf added a subscriber: Wulf.


Thank you for the report, we will have a look at it.

h- added a comment.Feb 3 2018, 8:08 AM

This is still happening, should I assume that not going to be fixed at this stage?