Page 1 of 1

Particle Color change via widget

PostPosted: Thu Sep 11, 2014 11:51 pm
by azman

I'm looking for a solution to change the color of the particle emitter from widget designer,
I need a choice of 12 different colors in total,
I'd ideally look for commands to dictate a R,G,B value via a custom script button,

I've tried using the following script but have not had any success with the actual color value
DeviceSetParam,1,1,Particle System 2D|Particle Emitter 2D|Color,?

Is anyone aware of an alternative script or approach to achieve this color change?



Re: Particle Color change via widget

PostPosted: Fri Sep 12, 2014 10:06 am
by ricky
Hi Az,
you can try to create global presets for each color status in the PB project and then with WD you can use the script to set preset to device: DeviceSetPreset,SiteID,DeviceID,PresetID1,PresetID2
I hope this helps...


Re: Particle Color change via widget

PostPosted: Sun Jul 29, 2018 2:17 am
by showmanship
Has there been any new way found yet to do this?

Re: Particle Color change via widget

PostPosted: Mon Jul 30, 2018 3:53 pm
by Thomas Mrozek

you can set all Emitter parameters like this, e.g.
WD6 - DeviceSetParam(1,15,"Particle Emitter 2D|Radius",2)
WD4.7 - DeviceSetParam,1,15,Particle Emitter 2D|Radius,2

not the ones indicated with [M] in the device tree. Those are "Multi Fader" and cannot be switched by sending a single value, actually.