Particle Color change via widget

Moderator: Moderator Group

Particle Color change via widget

Postby azman » Thu Sep 11, 2014 11:51 pm

Hello,

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?

Regards

Az
azman
 
Posts: 92
Joined: Tue Feb 02, 2010 11:43 pm

Re: Particle Color change via widget

Postby ricky » Fri Sep 12, 2014 10:06 am

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...

Cheers
--ricky--

Tech Sales, Tech Support & Betatesting Coolux
Molpass srl
http://www.molpass.com
ricky
 
Posts: 125
Joined: Mon Jul 28, 2008 8:43 am
Location: Italy

Re: Particle Color change via widget

Postby showmanship » Sun Jul 29, 2018 2:17 am

Has there been any new way found yet to do this?
showmanship
 
Posts: 11
Joined: Tue Jan 13, 2015 12:58 am

Re: Particle Color change via widget

Postby Thomas Mrozek » Mon Jul 30, 2018 3:53 pm

Hi,

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

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

cheers
Thomas
Thomas Mrozek
Product Manager
User avatar
Thomas Mrozek
 
Posts: 138
Joined: Mon Apr 20, 2009 11:08 am


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 20 guests