playMaker

Author Topic: HOW COME PLAYMAKER SET PARTICLE SYSTEM COLOR DOESNT WORK?[SOLVED]  (Read 2703 times)

acriticalstrike

  • Playmaker Newbie
  • *
  • Posts: 24
HOW COME PLAYMAKER SET PARTICLE SYSTEM COLOR DOESNT WORK?

I can't seem to get the particle systems to change color via the set properties action.


Is this a problem for anyone else?

 :) ;) :D ;D >:( :( :o 8) ??? ::) :P :-[ :-X :-\ :-* :'(
« Last Edit: April 04, 2014, 08:21:41 AM by jeanfabre »

acriticalstrike

  • Playmaker Newbie
  • *
  • Posts: 24
Re: HOW COME PLAYMAKER SET PARTICLE SYSTEM COLOR DOESNT WORK?
« Reply #1 on: April 03, 2014, 09:20:32 PM »
UPDATE: particlesystem.startcolor changes the color only if it is run several times a second or every frame.

HOWEVER, particlesystem.startcolor.a (i assume this is the alpha), particlesystem.startcolor.r (red), particlesystem.startcolor.g (green), particlesystem.startcolor.b (blue)  DO NOT WORK, they dont work if i run them once, and they dont work if i run them repeatedly or even at every frame....


this isnt a game breaker for me, but boy it'll make it much more obfuscated if i cant simply change color by setting the red green blue and alpha values via numbers.....

has anyone else tried to use set color action for particle systems ?? I know it's a little more advanced than most of the other features but boy i would love to utilize this feature set

acriticalstrike

  • Playmaker Newbie
  • *
  • Posts: 24
Re: HOW COME PLAYMAKER SET PARTICLE SYSTEM COLOR DOESNT WORK?
« Reply #2 on: April 03, 2014, 10:03:45 PM »
GOOD NEWS EVERYBODY!

So um basically what i did is i set a color variable, and then i set that variable using the playmaker action set color rgba, then i used particlesystem.startcolor using the color variable set by the first action, so instead of setting the particle system values directly i just set the values of a color variable, then applied that variable to the particle system giving me the randomness of color i was looking for!

 :'( :-* :-\ :-X :-[ :P ::) ??? 8) :o :( >:( ;D :D ;) :)